Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.3.0
metadata
title: RAG Knowledge Assistant
emoji: 🧠
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 4.44.1
app_file: apps/web/app.py
pinned: false
RAG Knowledge Assistant
🚀 Live Demo Deployed on Hugging Face Spaces: Check it out here!
A production-ready RAG system featuring:
- Grounded Answers: Strict ciation of sources.
- Evaluation: Integrated offline eval harness.
- Observability: Langfuse tracing.
- Deployment: Ready for Hugging Face Spaces.
Setup
Install Dependencies:
pip install uv uv syncEnvironment: Copy
.env.exampleto.envand set your keys.cp .env.example .env
Usage
Run Locally
python apps/web/app.py
Ingestion
python -m services.rag.ingest --input sample_docs --out data/processed
python -m services.rag.index --processed data/processed --out data/index
Evaluation
python -m eval.run_eval --data eval/sample_eval.jsonl
Observability
See observability.md for details on setting up Langfuse.