Spaces:
Sleeping
Sleeping
|
Download README.md from Anaconda024/UCC_AI: direct link, hf CLI and curl.
- Browser
- Download file 1.36 kB
-
https://huggingface.co/spaces/Anaconda024/UCC_AI/resolve/main/README.md
- Command line
-
hf download hf://spaces/Anaconda024/UCC_AI/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Anaconda024/UCC_AI/resolve/main/README.md
1.36 kB
| title: DeepSeek RAG Chatbot | |
| emoji: π | |
| colorFrom: indigo | |
| colorTo: red | |
| sdk: gradio | |
| sdk_version: "5.43.1" | |
| app_file: app.py | |
| pinned: false | |
| # DeepSeek RAG β Chat With Your Website & Company Docs | |
| This Space lets you upload company documents and/or crawl your website, build a vector index, and ask questions answered by a DeepSeek model via the Hugging Face Inference API. | |
| ## π Quick Start | |
| 1. Create a **new Space** β **Gradio** β Python. | |
| 2. Upload `app.py`, `requirements.txt`, `README.md`. | |
| 3. Add your Hugging Face token in Space **Settings β Variables and secrets**. | |
| 4. Enter model ID (your fine-tuned DeepSeek model) in the UI. | |
| 5. Upload docs or crawl your site β build index β chat! | |
| --- | |
| ## π§ How It Works | |
| - Documents are split into chunks, embedded with `sentence-transformers/all-MiniLM-L6-v2`, and stored in a **FAISS** vector index. | |
| - At query time, the top-k chunks are retrieved and sent with your question to a **DeepSeek LLM** via the Hugging Face Inference API. | |
| --- | |
| ## π¦ Dependencies | |
| Managed by `requirements.txt`: | |
| - gradio | |
| - faiss-cpu | |
| - sentence-transformers | |
| - pypdf2 | |
| - docx2txt | |
| - beautifulsoup4 | |
| - requests | |
| - huggingface_hub | |
| - numpy | |
| --- | |
| ## π Notes | |
| - Keep your Hugging Face token private. | |
| - Uploaded files are processed inside the Space (no external upload). | |
| - Crawling is shallow and same-domain only by default. | |