Files
t2a_v2/rebuild_index.py
2026-03-05 00:37:41 +01:00

10 lines
260 B
Python

import sys
from pathlib import Path
sys.path.append(str(Path(__file__).resolve().parent))
from src.medical.rag_index import build_index
import logging
logging.basicConfig(level=logging.INFO)
build_index(force=True)
print("Indexation terminée avec succès.")