Spaces:
Sleeping
Sleeping
Update services/kb_creation.py
Browse files- services/kb_creation.py +1 -1
services/kb_creation.py
CHANGED
|
@@ -229,7 +229,7 @@ def search_knowledge_base(query: str, top_k: int = 10) -> dict:
|
|
| 229 |
# -------- Semantic intent + Hybrid ranking --------
|
| 230 |
INTENT_PROTOTYPES = {
|
| 231 |
"steps": ["how to perform", "procedure", "workflow", "instructions",
|
| 232 |
-
"steps to accomplish", "operate", "process to follow],
|
| 233 |
"errors": ["error condition", "issue troubleshooting", "resolution steps",
|
| 234 |
"fix failure", "diagnose problem",
|
| 235 |
# ✅ NEW: permission/authorization/role access signals
|
|
|
|
| 229 |
# -------- Semantic intent + Hybrid ranking --------
|
| 230 |
INTENT_PROTOTYPES = {
|
| 231 |
"steps": ["how to perform", "procedure", "workflow", "instructions",
|
| 232 |
+
"steps to accomplish", "operate", "process to follow"],
|
| 233 |
"errors": ["error condition", "issue troubleshooting", "resolution steps",
|
| 234 |
"fix failure", "diagnose problem",
|
| 235 |
# ✅ NEW: permission/authorization/role access signals
|