NotesQuerier is a fully local assistant that helps you turn your study notes into an interactive Q&A tool.
This project allows you to upload your notes in PDF format and ask questions about the content. The system uses natural language processing and retrieval-based question answering to help you study efficiently.
- PDF Upload: Easily upload your notes in PDF.
- Question Answering: Ask questions and get concise answers.
- Interactive Interface: Simple, user-friendly web interface using Gradio.
- LangChain: For LLM Orchestration.
- Gradio: For the interactive user interface.
- Ollama: For running models locally.
- FAISS: For fast and efficient document retrieval.
- PyMuPDF: For processing and extracting text from PDFs.
-
Clone the Repository
git clone https://github.com/SwekeR-463/Notes-Querier.git cd notes-querier -
Create a Virtual Environment
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install Dependencies
pip install -r requirements.txt
-
Install Ollama
-
Windows: Download and install from Ollama's website.
-
macOS: Install via Homebrew:
brew install ollama/tap/ollama
-
-
Pull Required Models
ollama pull nomic-embed-text ollama pull gemma2:2b
Feel free to use any model you like based upon your system.
-
Run the Application
python rag.py
-
Interact with the Interface
- Upload your notes in PDF.
- Ask your questions and get answers.
