pdf_web_QA_ChatBot / README.md
Deepakraj02's picture
Update README.md
6edebf1 verified
|
Raw History Blame Contribute Delete
1.36 kB

A newer version of the Streamlit SDK is available: 1.65.0

Upgrade
metadata
title: Conversational RAG | PDF + Website
emoji: πŸ“„
colorFrom: indigo
colorTo: blue
sdk: streamlit
sdk_version: 1.32.0
app_file: app.py
pinned: false

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

Conversational RAG | PDF + Website

This app allows users to upload PDFs or specify a website URL to chat with the content using a conversational RAG (Retrieval-Augmented Generation) setup.

πŸ’‘ Features

  • Upload and chat with PDFs
  • Load and query website content
  • Context-aware Q&A using LangChain + LLaMA3 via Groq
  • Session history for persistent conversations

πŸš€ Deployment

  1. Add your secrets to Hugging Face Space under Settings > Secrets:

    Name Value
    GROQ_API_KEY your Groq API key
    HUGGINGFACE_API_KEY your HF API token
  2. Upload the following files to your Space:

    • app.py
    • requirements.txt
    • README.md
    • Optional: Dockerfile (only if you choose Docker as your runtime)
  3. Select the appropriate runtime: Python SDK (or Docker if using Dockerfile)

🧠 Powered By