Spaces:
Sleeping
Sleeping
Create config.yaml
Browse files- config.yaml +37 -0
config.yaml
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ========================================
|
| 2 |
+
# Full RAG Knowledge Assistant
|
| 3 |
+
# ========================================
|
| 4 |
+
|
| 5 |
+
client:
|
| 6 |
+
name: "Knowledge Assistant"
|
| 7 |
+
description: "AI-powered Q&A with document retrieval and citation"
|
| 8 |
+
theme_color: "blue"
|
| 9 |
+
|
| 10 |
+
kb:
|
| 11 |
+
directory: "./kb"
|
| 12 |
+
index_directory: "./.index"
|
| 13 |
+
|
| 14 |
+
models:
|
| 15 |
+
embedding: "sentence-transformers/all-MiniLM-L6-v2"
|
| 16 |
+
qa: "deepset/roberta-base-squad2"
|
| 17 |
+
|
| 18 |
+
thresholds:
|
| 19 |
+
confidence: 0.25
|
| 20 |
+
similarity: 0.35
|
| 21 |
+
|
| 22 |
+
chunking:
|
| 23 |
+
chunk_size: 800
|
| 24 |
+
overlap: 200
|
| 25 |
+
|
| 26 |
+
quick_actions:
|
| 27 |
+
- label: "π Getting Started"
|
| 28 |
+
query: "How do I get started?"
|
| 29 |
+
- label: "β FAQ"
|
| 30 |
+
query: "What are frequently asked questions?"
|
| 31 |
+
- label: "π Contact Support"
|
| 32 |
+
query: "How do I contact support?"
|
| 33 |
+
|
| 34 |
+
messages:
|
| 35 |
+
welcome: "π How can I help? Ask me anything or use a quick action button below."
|
| 36 |
+
no_answer: "β **I don't know the answer to that** but if you have any document with details I can learn about it."
|
| 37 |
+
upload_prompt: "π€ Upload a relevant document above, and I'll be able to help you find the information you need!"
|