|
|
--- |
|
|
title: Multi-Source RAG Assistant |
|
|
emoji: π |
|
|
colorFrom: indigo |
|
|
colorTo: blue |
|
|
sdk: streamlit |
|
|
sdk_version: 1.45.0 |
|
|
app_file: app.py |
|
|
pinned: false |
|
|
--- |
|
|
|
|
|
# π Multi-Source RAG Assistant |
|
|
|
|
|
This app lets users interact with: |
|
|
- π§Ύ PDF documents |
|
|
- π CSV datasets (with automatic EDA) |
|
|
- π Any website (scraped and embedded into a vector database) |
|
|
|
|
|
π‘ Powered by: |
|
|
- Google Gemini API |
|
|
- FAISS vector search |
|
|
- LangChain framework |
|
|
|
|
|
## π§ How It Works |
|
|
|
|
|
1. Select input type from sidebar: **PDF**, **CSV**, or **Website URL**. |
|
|
2. Upload or input accordingly. |
|
|
3. Ask questions β the assistant answers using context-aware RAG via Gemini. |
|
|
|
|
|
## π Getting Started |
|
|
|
|
|
Before using the app: |
|
|
- Enter your **Gemini API Key** in the sidebar. |
|
|
|
|
|
## π§ Tech Stack |
|
|
|
|
|
- `Streamlit` for UI |
|
|
- `LangChain` for RAG logic |
|
|
- `FAISS` for vector storage |
|
|
- `SentenceTransformers` for embeddings |
|
|
- `Google Generative AI (Gemini)` for LLM-powered answers |
|
|
|
|
|
--- |
|
|
|
|
|
### π Developed by Abhijeet Singh |
|
|
|
|
|
Hosted with β€οΈ on [Hugging Face Spaces](https://huggingface.co/spaces) |