From 282a7ad739e70c90aafa315eaf1ffdb5947409f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan?= Date: Mon, 19 May 2025 07:29:28 +0200 Subject: [PATCH] Update rag.py --- rag.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rag.py b/rag.py index d97f50a..7ab2bc0 100644 --- a/rag.py +++ b/rag.py @@ -35,9 +35,9 @@ def split(text: str): return out # ------------------- charger meta et reconstruire passages ------------------ -meta_path = Path("chap.meta.json") +meta_path = Path("corpus.meta.json") if not meta_path.exists(): - raise SystemExit("chap.meta.json introuvable – lancez d'abord index.py") + raise SystemExit("corpus.meta.json introuvable – lancez d'abord index.py") meta = json.load(meta_path.open()) # mapping (file, part) -> chunk text