fix: remove dead vector migrate command

This commit is contained in:
2026-08-08 21:45:16 +02:00
parent 8826f8ac6b
commit 569bb7f1db
10 changed files with 100 additions and 262 deletions
+3 -4
View File
@@ -8,7 +8,7 @@ from tht.cli.schema_cmd import _load_config_or_exit, annotations_path, physical_
from tht.ports.vector import VectorWriteRecord
from tht.vectorstore.store import SyncStats, content_hash
vector_app = typer.Typer(help="Indice semantico pgvector (derivato, rigenerabile)")
vector_app = typer.Typer(help="Indice semantico Qdrant (derivato, rigenerabile)")
def make_embedder(embeddings_cfg):
@@ -33,8 +33,7 @@ def require_vector_cfg(cfg):
def open_searcher(cfg):
"""Searcher per la LETTURA (similarity search): via REST se `vector_rest` è configurato,
altrimenti connessione diretta (dev/test)."""
"""Searcher per la lettura semantic search sul runtime vettoriale attivo."""
from tht.adapters.factory import build_vector_store
from tht.vectorstore.reader import tables_for_kinds
@@ -119,7 +118,7 @@ def init_cmd(
@vector_app.command("index-schema")
def index_schema_cmd(config: Path = CONFIG_OPT) -> None:
"""Embedda e sincronizza i record schema (tabelle e colonne) da mschema."""
"""Embedda e sincronizza i record schema (tabelle e colonne) nel semantic store."""
from tht.mschema.models import Annotations, PhysicalSchema
from tht.vectorstore.records import schema_records