feat(search): recherche semantique - embeddings vectoriels + hybride RRF (#70)

This commit is contained in:
2026-09-12 00:12:20 -04:00
parent 45be3125de
commit 31d4be8015
19 changed files with 1388 additions and 90 deletions
+7
View File
@@ -114,6 +114,10 @@ def app_with_vault(test_vault_dir: str):
from backend.search import init_inverted_index
init_inverted_index()
# Build semantic (embedding) index — uses the dependency-free hash fallback
from backend.semantic_search import init_semantic_index
init_semantic_index()
client = TestClient(app)
return client
@@ -196,6 +200,9 @@ def admin_client(tmp_path):
from backend.search import init_inverted_index
init_inverted_index()
from backend.semantic_search import init_semantic_index
init_semantic_index()
from fastapi.testclient import TestClient
client = TestClient(app)
yield client