python -m venv venv
source venv/bin/activate
pip install flask flask-cors langchain openai faiss-cpu langchain-openai pydantic langchain_communityOpen your terminal and add the following line to your shell configuration file (.bashrc, .zshrc, etc.):
export OPENAI_API_KEY="your-api-key-here"Reload the shell configuration:
source ~/.bashrc # If you use bash
source ~/.zshrc # If you use zshpython3 main.pyStart a new terminal
cd app/
npm start