-
Notifications
You must be signed in to change notification settings - Fork 0
Nischal-exe/ChatBot
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Repository files navigation
# β‘ Synapse: Advanced Multi-Query AI Assistant Synapse is a high-performance **Retrieval-Augmented Generation (RAG)** application built to extract precise, well-organized information from PDF documents. By utilizing **Multi-Query Expansion**, Synapse overcomes the limitations of standard keyword search, ensuring it finds the most relevant information even if the user's question is vague. ## π Key Features * **Multi-Query Expansion:** Uses Groq's Llama 3.3 to rewrite user queries into multiple variations, increasing retrieval accuracy (Recall). * **Persistent Cloud Memory:** Integrated with **Neon DB (PGVector)** to store document embeddings permanently in the cloud. * **Explainable AI:** Provides direct **Source Citations** including page numbers and exact text snippets for every answer. * **Context-Aware Chat:** Maintains a session-based history to handle follow-up questions (e.g., "What about the second one?"). * **Sub-Second Latency:** Powered by **Groq LPU** inference for near-instant responses. ## π οΈ Tech Stack * **Frontend:** [Streamlit](https://streamlit.io/) * **Orchestration:** [LangChain](https://www.langchain.com/) * **Brain (LLM):** Groq (Llama 3.3-70B) * **Vector Database:** Neon DB (PostgreSQL + PGVector) * **Embeddings:** Hugging Face (`all-MiniLM-L6-v2`) ## π Project Structure ```text Synapse-Cloud/ βββ .streamlit/ # Streamlit configuration β βββ secrets.toml # Local secrets (ignored by Git) βββ app.py # Main application logic βββ requirements.txt # Python dependencies βββ packages.txt # Linux system dependencies (libpq-dev) βββ .gitignore # Files to exclude from GitHub
About
Learning RAG, so made this.
Resources
Stars
Watchers
Forks
Releases
No releases published