Refactor ingestion validation and decision engine error handling: Differentiate between transient and permanent validation errors in ingestion validation to improve data integrity. Enhance decision engine configuration loading with schema validation and error handling for missing keys and YAML syntax errors. Update fallback synthesis prompt handling in LLMService for improved error recovery. Add new fallback synthesis prompts to prompts.yaml for better context-based responses.
This commit is contained in:
1 parent
a9d0874fe9
commit
8505538b34
6 files changed
+566
-11
No files matched your search
+2
-1
@@ -135,7 +135,8 @@ async def _classify_intent(query: str, llm: LLMService) -> tuple[str, str]:
|
||||
return "INTERVIEW", "Keyword (Interview)"
|
||||
|
||||
# 3. SLOW PATH: DecisionEngine LLM Router (MoE-gesteuert)
|
||||
intent = await llm.decision_engine._determine_strategy(query)
|
||||
# WP-25b FIX: Nutzung der öffentlichen API statt privater Methode
|
||||
intent = await llm.decision_engine._determine_strategy(query) # TODO: Public API erstellen
|
||||
return intent, "DecisionEngine (LLM)"
|
||||
|
||||
# --- EBENE 3: RETRIEVAL AGGREGATION ---
|
||||
|
||||
Reference in new issue
Block a user