Figure 1: Retrieval-Augmented Generation Architecture
A Python implementation of a Retrieval-Augmented Generation (RAG) assistant that:
Key Features:
ā Vector database (ChromaDB)
ā Wikipedia document ingestion
ā Customizable retrieval pipeline
ā Local (Ollama) or Cloud (OpenAI) LLM support
# Clone repository git clone https://github.com/yourusername/rag-assistant.git cd rag-assistant # Install dependencies pip install -r requirements.txt # For local LLM (optional) ollama pull llama2