- VS code
- Remote Development VS Code extension
- Docker Desktop
- If on Windows, WSL 2
- Pinecone key
- Openai key
-
Make sure docker is running
-
Open VS Code in root directory
-
VS Code will prompt for you to open the folder in a dev container. Say yes.
-
Once container has been created, open a terminal window and run:
pip install -r requirements.txt
-
Copy .env.template file and rename to .env
-
Add your keys / values to the .env file
-
create pinecone index named
test-index
with 1536 dimensions -
run program with this command:
python main.py