๐Ÿ“„๐Ÿ” Retrieval-Augmented Generation (RAG) Demo

Upload text files and ask questions about their content.

How it works

  1. Upload one or more .txt files
  2. Ask a question related to the content
  3. The system will:
    • Create embeddings using BERT
    • Find similar passages using vector similarity
    • Retrieve relevant context for your query
    • Generate an answer using flan-t5-base

Built with ๐Ÿค— Hugging Face's models and Gradio