A simple project to upload files, build index and ask questions about your documents.
- FastAPI
- LlamaIndex
- ChromaDB
- Minio
- docker-compose up -d
- poetry install
- poetry shell
- uvicorn document_rag:app — reload
Use Postman or similar tools to send requests to the backend.
- Use the
POST http://127.0.0.1:8000/uploadfileendpoint to upload a file to Minio and build you index in Chroma - Use the
POST http://127.0.0.1:8000/conversationendpoint with amessagebody to ask questions about the document you uploaded