From d447c671116b70468d691e2b7f5ec5fb48277e67 Mon Sep 17 00:00:00 2001 From: anor Date: Fri, 27 Mar 2026 02:00:55 +1000 Subject: [PATCH] =?UTF-8?q?feat:=203443=20vectors=20=D0=B2=20RAG=20?= =?UTF-8?q?=E2=80=94=20=D0=BF=D1=80=D0=B8=D0=BA=D0=B0=D0=B7=D1=8B=20=D0=A4?= =?UTF-8?q?=D0=A1=D0=9D=D0=91=20+=20HTM=20=D0=B4=D0=BE=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F=20+=20=D0=BF=D0=BE=D1=80=D0=BE?= =?UTF-8?q?=D0=B3=200.815?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Проиндексированы: 17 приказов ФСНБ-2022 (изменения I1-I17), ФРСН, 15 HTM дополнений к ФСНБ. Тест 200 запросов: 98% покрытие (197/200). Порог снижен 0.83→0.815 для пограничных запросов. Co-Authored-By: Claude Opus 4.6 (1M context) --- claude_bridge_glm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/claude_bridge_glm.py b/claude_bridge_glm.py index 4219dfa..e3e6ad1 100644 --- a/claude_bridge_glm.py +++ b/claude_bridge_glm.py @@ -94,7 +94,7 @@ def _search_normative(query: str, top_k: int = 3) -> str: results = [] for dist, idx in zip(D[0], I[0]): - if dist < 0.83: # e5-base scores cluster 0.79-0.89; 0.83 balances precision/recall + if dist < 0.815: # e5-base scores cluster 0.79-0.89; 0.815 after 3443 vectors continue m = _norm_metadata[idx] results.append(f"[{m['source']}] {m['full_text'][:500]}")