Skip to content

An Example Plugin for ChatGPT, Utilizing FastAPI, LangChain and Chroma

License

Notifications You must be signed in to change notification settings

experienced-dev/chatgpt-plugin-fastapi-langchain-chroma

Repository files navigation

chatgpt-plugin-fastapi-langchain-chroma

An Example Plugin for ChatGPT, Utilizing FastAPI, LangChain and Chroma

Blog Post

Video Version

Install the dependencies

pip install -r requirements.txt

Create .env file

python -c "import shutil; shutil.copy('.env.example', '.env')"

Set OPENAI_API_KEY in .env

Create embeddings for the data and persist Chroma

python persist_chroma.py

Start

uvicorn main:app --log-level debug --reload