title: Personal AI Assistant with RAG | |
emoji: 🤗 | |
colorFrom: indigo | |
colorTo: purple | |
sdk: docker | |
app_port: 7860 | |
pinned: true | |
license: mit | |
# Personal AI Assistant with RAG | |
A powerful personal AI assistant that uses Retrieval-Augmented Generation (RAG) to provide responses based on your documents and notes. | |
## Features | |
- Uses free Hugging Face models for language processing and embeddings | |
- Stores and retrieves information in a vector database | |
- Upload PDF, TXT, and CSV files to expand the knowledge base | |
- Add direct text input to your knowledge base | |
- View sources for AI responses | |
- Conversation history tracking | |
## How to Use | |
1. **Upload Documents**: Use the sidebar to upload files (PDF, TXT, CSV) | |
2. **Add Text**: Enter text directly into the knowledge base | |
3. **Ask Questions**: Chat with the assistant about your documents | |
4. **View Sources**: See where information is coming from | |
## Built With | |
- Hugging Face Models | |
- LLM: google/flan-t5-large | |
- Embeddings: sentence-transformers/all-MiniLM-L6-v2 | |
- LangChain for orchestration | |
- Qdrant for vector storage | |
- Streamlit for UI | |
Created by [p3rc03](https://huggingface.co/p3rc03) |