|
Download README.md from umar-30/Rag_agent: direct link, hf CLI and curl.
- Browser
- Download file 1.61 kB
-
https://huggingface.co/spaces/umar-30/Rag_agent/resolve/main/README.md
- Command line
-
hf download hf://spaces/umar-30/Rag_agent/README.md
-
curl -L -o README.md https://huggingface.co/spaces/umar-30/Rag_agent/resolve/main/README.md
1.61 kB
metadata
title: Rag Agent
emoji: π€
colorFrom: blue
colorTo: green
sdk: docker
pinned: false
RAG Insight Assistant
A professional, high-end Retrieval-Augmented Generation (RAG) application built with FastAPI, Streamlit, Cohere, and Qdrant.
π Features
- Modern AI UI: Unified landing page and chat interface with a premium dark theme.
- Neural Search: Efficient document retrieval using Qdrant vector database.
- SaaS Styling: Glassmorphism effects, neon borders, and optimized for laptop screens.
- Dynamic Ingestion: Process PDFs into vector embeddings on the fly.
- Scalable Backend: FastAPI-powered engine for query synthesis and generation.
π οΈ Tech Stack
- Frontend: Streamlit
- Backend: FastAPI
- LLM & Embeddings: Cohere
- Vector DB: Qdrant
- Dependency Management: uv
π¦ Setup & Running
1. Prerequisites
2. Environment Variables
Create a .env file in the root directory:
COHERE_API_KEY=your_cohere_api_key_here
3. Run the Backend
uv run uvicorn app.main:app --reload --port 8000
4. Run the Frontend
uv run streamlit run ui.py
π³ Docker Deployment
The project includes a Dockerfile for containerized deployment.
docker build -t rag-assistant .
docker run -p 8000:8000 -p 7860:7860 rag-assistant
Powered by Cohere and Qdrant β’ Developed for RAG Insights