sofzcc commited on
Commit
1b8bcb9
Β·
verified Β·
1 Parent(s): 5512290

Update config.yaml

Browse files
Files changed (1) hide show
  1. config.yaml +15 -5
config.yaml CHANGED
@@ -1,10 +1,11 @@
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:
@@ -14,8 +15,17 @@ 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"
@@ -27,4 +37,4 @@ quick_actions:
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."
 
1
  # ========================================
2
+ # Self-Service KB Assistant β€” Configuration
3
+ # All values here are read by app.py at startup.
4
  # ========================================
5
 
6
  client:
7
  name: "Self-Service KB Assistant"
8
+ description: "Semantic search over a knowledge base, with LLM-powered answer generation."
9
  theme_color: "blue"
10
 
11
  kb:
 
15
  embedding: "sentence-transformers/all-MiniLM-L6-v2"
16
 
17
  chunking:
18
+ chunk_size: 500 # Target characters per chunk (breaks on sentence boundaries)
19
+ overlap: 100 # Characters of overlap carried into the next chunk
20
+
21
+ retrieval:
22
+ top_k: 3 # Number of chunks to retrieve per query
23
+ min_similarity: 0.3 # Minimum cosine similarity score to include a result
24
+ context_chars: 1500 # Max characters of context passed to the LLM
25
+
26
+ llm:
27
+ model: "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
28
+ max_new_tokens: 256
29
 
30
  quick_actions:
31
  - label: "πŸ“š Getting Started"
 
37
 
38
  messages:
39
  welcome: "πŸ‘‹ Ask me anything you'd normally search for in a knowledge base."
40
+ no_answer: "❌ I couldn't find anything relevant in the knowledge base for this query."