RAG Application
Overview
Simple ChatBot with Retrieval Augmented Generation system, which allows users to upload PDF documents, processes their text, and generates detailed answers based on the document content.
Installation and Usage
- Install Ollama and download models with following commands:
ollama pull llama3.2:3b
ollama pull nomic-embed-text:latest
- llama3.2:3b for generating responses.
- nomic-embed-text:latest for generating embeddings.
- Install Python Dependencies
pip install -r requirements.txt
- Start the Application
python app.py
The app will start in development mode by default and can be accessed at http://localhost:5000.