Spaces:
Sleeping
Sleeping
Update config.yaml
Browse files- config.yaml +12 -19
config.yaml
CHANGED
|
@@ -1,37 +1,30 @@
|
|
| 1 |
# ========================================
|
| 2 |
-
#
|
| 3 |
# ========================================
|
| 4 |
|
| 5 |
client:
|
| 6 |
-
name: "
|
| 7 |
-
description: "
|
| 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:
|
| 24 |
-
overlap:
|
| 25 |
|
| 26 |
quick_actions:
|
| 27 |
- label: "π Getting Started"
|
| 28 |
-
query: "
|
| 29 |
-
- label: "
|
| 30 |
-
query: "
|
| 31 |
-
- label: "
|
| 32 |
-
query: "
|
| 33 |
|
| 34 |
messages:
|
| 35 |
-
welcome: "π
|
| 36 |
-
no_answer: "β
|
| 37 |
-
upload_prompt: "π€ Upload a relevant document above, and I'll be able to help you find the information you need!"
|
|
|
|
| 1 |
# ========================================
|
| 2 |
+
# Simple Self-Service KB Assistant
|
| 3 |
# ========================================
|
| 4 |
|
| 5 |
client:
|
| 6 |
+
name: "Self-Service KB Assistant"
|
| 7 |
+
description: "Semantic search over a small knowledge base, returning relevant excerpts."
|
| 8 |
theme_color: "blue"
|
| 9 |
|
| 10 |
kb:
|
| 11 |
directory: "./kb"
|
|
|
|
| 12 |
|
| 13 |
models:
|
| 14 |
embedding: "sentence-transformers/all-MiniLM-L6-v2"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
chunking:
|
| 17 |
+
chunk_size: 500
|
| 18 |
+
overlap: 100
|
| 19 |
|
| 20 |
quick_actions:
|
| 21 |
- label: "π Getting Started"
|
| 22 |
+
query: "What makes a good knowledge base article?"
|
| 23 |
+
- label: "π€ KB Assistant Use Cases"
|
| 24 |
+
query: "How could a KB assistant help agents?"
|
| 25 |
+
- label: "π Self-Service Benefits"
|
| 26 |
+
query: "Why is self-service important for customer support?"
|
| 27 |
|
| 28 |
messages:
|
| 29 |
+
welcome: "π Ask me anything you'd normally search for in a knowledge base."
|
| 30 |
+
no_answer: "β I couldn't find anything relevant in the knowledge base for this query yet."
|
|
|