diff --git a/atlasbot/engine/answerer.py b/atlasbot/engine/answerer.py index 0c51fbd..c829ef9 100644 --- a/atlasbot/engine/answerer.py +++ b/atlasbot/engine/answerer.py @@ -260,7 +260,7 @@ class AnswerEngine: scored = await _score_chunks(call_llm, chunks, normalized, sub_questions, plan) selected = _select_chunks(chunks, scored, plan, keyword_tokens) key_facts = _key_fact_lines(summary_lines, keyword_tokens) - metric_facts = [line for line in key_facts if re.search(r"\\d", line)] + metric_facts = [line for line in key_facts if re.search(r"\d", line)] if self._settings.debug_pipeline: scored_preview = sorted( [{"id": c["id"], "score": scored.get(c["id"], 0.0), "summary": c["summary"]} for c in chunks],