Spaces:
Sleeping
Sleeping
Delete config.yaml
Browse files- config.yaml +0 -35
config.yaml
DELETED
|
@@ -1,35 +0,0 @@
|
|
| 1 |
-
# ========================================
|
| 2 |
-
# Self-Service KB Assistant — Configuration
|
| 3 |
-
# ========================================
|
| 4 |
-
|
| 5 |
-
client:
|
| 6 |
-
name: "Self-Service KB Assistant"
|
| 7 |
-
|
| 8 |
-
kb:
|
| 9 |
-
directory: "./kb"
|
| 10 |
-
index_directory: "./.cache/faiss"
|
| 11 |
-
|
| 12 |
-
models:
|
| 13 |
-
embedding: "sentence-transformers/all-MiniLM-L6-v2"
|
| 14 |
-
qa: "google/flan-t5-small"
|
| 15 |
-
|
| 16 |
-
chunking:
|
| 17 |
-
chunk_size: 500
|
| 18 |
-
overlap: 100
|
| 19 |
-
|
| 20 |
-
retrieval:
|
| 21 |
-
top_k: 5 # chunks retrieved by FAISS per query
|
| 22 |
-
min_similarity: 0.25 # minimum cosine similarity to include a chunk
|
| 23 |
-
max_sentences: 6 # top sentences passed to the QA model after re-ranking
|
| 24 |
-
|
| 25 |
-
messages:
|
| 26 |
-
welcome: "Ask me anything about the documents in the knowledge base!"
|
| 27 |
-
no_answer: "I couldn't find anything relevant to your question in the knowledge base."
|
| 28 |
-
|
| 29 |
-
quick_actions:
|
| 30 |
-
- label: "📚 KB Best Practices"
|
| 31 |
-
query: "What makes a good knowledge base article?"
|
| 32 |
-
- label: "🤖 Agent Use Cases"
|
| 33 |
-
query: "How could a KB assistant help support agents?"
|
| 34 |
-
- label: "📈 Self-Service"
|
| 35 |
-
query: "Why is self-service important for customer support?"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|