This project utilizes Langchain and Gorq to establish a simple Retrieval system. This system empowers you to ask questions about your notes(animal biology for example), it works by first performing a retrieval step when presented with a question. This step fetches relevant text from faiss vector database, where the documents have been indexed.
python -mvenv .venv
source .venv/bin/activate
pip install -r requirements.txtGORQ_API_KEY="<Put your token here>"
uvicorn main:app --reload
curl -X POST http://localhost:8000/ask -H "Content-Type: application/json" -d '{"question": "جانداران چند گونه هستند؟"}'