feat(classifier): optional GigaChat-2-Lite hybrid tier classify
LLM classify via LiteLLM gigachat-classifier when heuristic confidence is low. CLASSIFIER_MODE=heuristic|hybrid|llm. Metrics classifier_source.
This commit is contained in:
@@ -30,3 +30,11 @@ escalation:
|
||||
redis:
|
||||
key_prefix: "ai-router:session:"
|
||||
ttl_sec: 1800
|
||||
|
||||
classifier:
|
||||
# heuristic | hybrid (default) | llm
|
||||
mode: hybrid
|
||||
llm_model: gigachat-classifier
|
||||
low_confidence_threshold: 0.6
|
||||
timeout_sec: 15
|
||||
max_tokens: 64
|
||||
|
||||
Reference in New Issue
Block a user