Wire the guarded conversational RAG answer layer end-to-end

This commit is contained in:
2026-08-05 14:33:13 +07:00
parent 834d9e51b0
commit ef08b4929e
127 changed files with 37921 additions and 169 deletions
+4
View File
@@ -53,6 +53,10 @@ def test_real_spelling_variants_found_in_the_book_all_match():
"Hướng dẫn cách sử trí ADR": "huong_dan_xu_tri_adr",
"Quá liều và xử lý": "qua_lieu_va_xu_tri",
"Lọai thuốc": "loai_thuoc",
"Tên chung quốc tế và mã ATC": "ten_chung_quoc_te",
"Dạng bào chế và hàm lượng": "dang_thuoc_va_ham_luong",
"Liều lượng và cách dùng giải độc tố uốn ván hấp phụ đơn giá":
"lieu_luong_va_cach_dung",
}
for text, expected_key in cases.items():
matched = match_section(text)