A tool for querying research papers using Retrieval-Augmented Generation, with a web interface wrapper for nicer conversations.
- Run
python app.pyand openhttp://localhost:5000 - Create a project and upload your PDF papers
- Click "Index Papers" to process them
- Ask questions in natural language and get AI-generated answers based on the content
Edit config.py to change:
EMBEDDING_MODEL: Model for semantic searchCHUNK_SIZE/CHUNK_OVERLAP: How papers are splitHF_MODEL: LLM for generating answersk: Number of chunks to retrieve per query
- Run flask app on a raspberry pi or online service
- Add option to do retrieval on demand to access entire databases
- utilize a cache to only search when necessary
- add ability to do projects within PubMed search