10 lines
260 B
Python
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.")
|