To set up the project, follow these steps:
-
Install Python and create a virtual environment:
python -m venv venv
-
Install the required dependencies:
pip install -r requirements.txt
-
Create
.envfile and add yourOPEN_AI_API_KEY,TAVILY_API_KEY, andLANGCHAIN_API_KEY. -
Run
prepare_vector_db.pymodule once to prepare both vector databases.python src\prepare_vector_db.py -
Run the app:
python src\app.py
Open the Gradio URL generated in the terminal and start chatting.
Sample questions are available in sample_questions.txt.
- LangChain: Introduction
- LangGraph
- LangSmith
- Gradio: Documentation
- OpenAI: Developer Quickstart
- Tavily Search