Skip to content

kintopp/openai-rag-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAI Trial Overview

Execution

To have a quick run, please make use of the FastAPI-based web application. It contains the findings and tweaks found in the latest test, namely main2.ipynb

Begin by installing the necessary dependencies. Optionally, create a virtual environment:

pip install -r requirements.txt

Subsequently, add your key in the app.py then execute the app:

# in app.py line 9
OPENAI_API_KEY = '<YOUR-API-KEY>'

# run from command line
uvicorn app:app --host 0.0.0.0 --port 38000 --reload

Access the app via http://localhost:38000.

This application is a basic demonstration of RAG, focusing solely on providing answers from given documents. It's possible for expansion to include the entire NLP workflow to handle dynamically given documents.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%