Dheeraj-13's picture
Docs: Add Hugging Face deployment link to README
0aa5ec6

A newer version of the Gradio SDK is available: 6.3.0

Upgrade
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

  1. Install Dependencies:

    pip install uv
    uv sync
    
  2. Environment: Copy .env.example to .env and 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.