Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
5.33.0
metadata
title: RAG with MMR + PDF Upload
emoji: π
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 5.29.0
app_file: app.py
pinned: false
license: apache-2.0
π§ Retrieval-Augmented Generation with MMR and PDF Upload
This Gradio demo allows you to:
- Upload a PDF document
- Chunk the content and embed using
MiniLM
- Store and search chunks using FAISS with Maximal Marginal Relevance (MMR)
- Answer questions using
FLAN-T5
Powered by LangChain + HuggingFace + Gradio + FAISS