Files
DeepTutor/deeptutor
Rudy Celekli 2f96d4ed52 fix(rag): strip only list markers from generated queries
_generate_queries cleaned each LLM-returned line with
line.strip().lstrip("0123456789.-) "). str.lstrip takes a character SET, not a
prefix, so besides the intended "1. "/"2) " list markers it also ate any
leading digits of the query itself: "2024 budget forecast" -> "budget
forecast", "5G network rollout" -> "G network rollout". The KB was then
searched for a materially different query whenever a variant began with a
number (years, 5G, 3D, versions). Strip a real leading list marker with a
regex instead.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-26 10:49:43 -04:00
..
2026-10-19 04:12:56 +08:00
…
2026-10-19 04:12:56 +08:00
2026-10-08 11:34:42 +08:00
2026-10-19 04:12:56 +08:00