Document the 2 known RAG gaps instead of leaving them unwritten

Weight-based dosing and multi-drug comparison were measured live and
recorded as fixtures (known_gaps.jsonl) but never showed up in the
canonical docs describing chat capabilities.
This commit is contained in:
2026-08-25 17:31:16 +07:00
parent e68cc23c7d
commit 454edfa492
+14
View File
@@ -65,3 +65,17 @@ reason, answer, resolved drug, citations, blocks, answer plan, candidate assessm
quick replies và disclaimer cố định. Citation giữ chunk, printed page, physical page, quick replies và disclaimer cố định. Citation giữ chunk, printed page, physical page,
source crop/attachment và thông tin drug/section/source document. source crop/attachment và thông tin drug/section/source document.
## Giới hạn đã biết
Hai năng lực dưới đây **chưa có code path**, đo trực tiếp qua live query (không
suy đoán) và ghi lại làm fixture tại `apps/ai-service/evals/known_gaps.jsonl` để
tái kiểm chứng thay vì chỉ dựa trên tuyên bố:
- **Tính liều theo cân nặng.** `rag/calculators.py::body_surface_area_m2()` tồn
tại nhưng không được `agent.py` gọi trên đường xử lý thật — hỏi liều theo cân
nặng vẫn quay lại hỏi tuổi thay vì tính ra số.
- **So sánh nhiều thuốc.** Không có `turn_type` hay đường xử lý riêng cho so
sánh thuộc tính giữa 2+ thuốc; đường 2-thuốc duy nhất hiện có
(`agent.py::_interaction`) chỉ xử lý tương tác thuốc-thuốc, không tổng quát
hoá được. Hệ thống trả lời trung thực "chưa đủ cơ sở" thay vì bịa bảng so sánh.