From f0f87b64f4bb786ef2762e84a121ec721f65b890 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan?= Date: Sun, 18 May 2025 18:27:05 +0200 Subject: [PATCH] Update index.py --- index.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.py b/index.py index 595d9b8..01ebfe9 100644 --- a/index.py +++ b/index.py @@ -13,7 +13,8 @@ import numpy as np from FlagEmbedding import BGEM3FlagModel # --- Paramètres ------------------------------------------------------------- -ROOT = Path("/app/Fiches") # dossier monté contenant les fiches +# Si vous exécutez ce script SUR L’HÔTE, mettez le chemin local +ROOT = Path("Fiches") # ou Path("/home/fabnum/fabnum-dev/Fiches") # dossier monté contenant les fiches MODEL_NAME = "BAAI/bge-m3" # embedding multilingue, licence MIT CHUNK = 800 # taille cible (≈600 mots) OVERLAP = 100 # chevauchement pour la cohésion