Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 652 Bytes

File metadata and controls

27 lines (21 loc) · 652 Bytes

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