Spaces:
Sleeping
Sleeping
|
Download README.md from Deepakraj02/pdf_web_QA_ChatBot: direct link, hf CLI and curl.
- Browser
- Download file 1.36 kB
-
https://huggingface.co/spaces/Deepakraj02/pdf_web_QA_ChatBot/resolve/main/README.md
- Command line
-
hf download hf://spaces/Deepakraj02/pdf_web_QA_ChatBot/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Deepakraj02/pdf_web_QA_ChatBot/resolve/main/README.md
1.36 kB
| 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 | |
| - [LangChain](https://www.langchain.com/) | |
| - [Groq](https://console.groq.com/) | |
| - [Hugging Face Spaces](https://huggingface.co/spaces) |