atlasbot: force metric routing for count questions
This commit is contained in:
parent
54b18c1c84
commit
677e31ba2d
@ -226,6 +226,8 @@ class AnswerEngine:
|
||||
)
|
||||
if any(term in normalized.lower() for term in cluster_terms):
|
||||
classify["needs_snapshot"] = True
|
||||
if re.search(r"\b(how many|count|number of|list)\b", normalized.lower()):
|
||||
classify["question_type"] = "metric"
|
||||
|
||||
if classify.get("follow_up") and state and state.claims:
|
||||
if observer:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user