Windows 11 & Python 3.11.0
- Implemented routing
- Implemented multi queries
- Implemented query translation : stepback, rewriting, HyDE, sub-query decomposition
- Implemented adaptive retrieval
- Implemented reranking
- Trying to make raptor ..
-
Clone the repository to your local machine.
-
Obtain your Gemini and Pinecone API keys. Create a .env file with the following content:
GOOGLE_API_KEY = your_api
PINECONE_API_KEY = your_api
- Create pythonn env:
python -m venv venv
- Install Requirements:
venv\Scripts\activate
python -m pip install -r requirements.txt
- Run the FastAPI server:
python main.py
- View the Swagger Docs: http://127.0.0.1:8000/docs or trying chat: http://127.0.0.1:8000/static/index.html