Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Self-Service KB Assistant
|
| 2 |
|
| 3 |
AI-powered knowledge base chat assistant. Upload documents, ask questions in plain language, get grounded answers with source attribution.
|
|
@@ -16,8 +27,8 @@ python app.py
|
|
| 16 |
|
| 17 |
## Deploy on HuggingFace Spaces
|
| 18 |
1. Create a new Space, SDK: **Docker**
|
| 19 |
-
2. Upload all files (app.py, requirements.txt, static/, config.yaml, kb/)
|
| 20 |
-
3.
|
| 21 |
|
| 22 |
```dockerfile
|
| 23 |
FROM python:3.11-slim
|
|
@@ -35,6 +46,7 @@ app.py FastAPI backend + RAG pipeline
|
|
| 35 |
static/index.html Complete UI (HTML/CSS/JS)
|
| 36 |
config.yaml App configuration
|
| 37 |
requirements.txt Python dependencies
|
|
|
|
| 38 |
kb/ Your knowledge base documents
|
| 39 |
.cache/faiss/ Auto-generated vector index
|
| 40 |
-
```
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Self-Service KB Assistant
|
| 3 |
+
emoji: 📚
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: blue
|
| 6 |
+
sdk: docker
|
| 7 |
+
app_port: 7860
|
| 8 |
+
pinned: false
|
| 9 |
+
short_description: RAG chat over your docs with source attribution
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
# Self-Service KB Assistant
|
| 13 |
|
| 14 |
AI-powered knowledge base chat assistant. Upload documents, ask questions in plain language, get grounded answers with source attribution.
|
|
|
|
| 27 |
|
| 28 |
## Deploy on HuggingFace Spaces
|
| 29 |
1. Create a new Space, SDK: **Docker**
|
| 30 |
+
2. Upload all files (app.py, requirements.txt, static/, config.yaml, kb/, Dockerfile)
|
| 31 |
+
3. Include this `Dockerfile`:
|
| 32 |
|
| 33 |
```dockerfile
|
| 34 |
FROM python:3.11-slim
|
|
|
|
| 46 |
static/index.html Complete UI (HTML/CSS/JS)
|
| 47 |
config.yaml App configuration
|
| 48 |
requirements.txt Python dependencies
|
| 49 |
+
Dockerfile Container build for HF Spaces
|
| 50 |
kb/ Your knowledge base documents
|
| 51 |
.cache/faiss/ Auto-generated vector index
|
| 52 |
+
```
|