refactor: remove pgvector runtime
This commit is contained in:
@@ -46,7 +46,7 @@ def _solved_hash(record: VectorRecord) -> str:
|
||||
def save_solved_question(record: VectorRecord, *, store, embedder) -> int:
|
||||
"""Upsert one-row della coppia domanda->SQL via writer key (stesso pattern di
|
||||
save_one_memory, spec D11): hash dedup client-side, embedding solo se domanda
|
||||
o SQL sono cambiati. `writer` e' un VectorRestClient (writer key). Ritorna il
|
||||
o SQL sono cambiati. Ritorna il
|
||||
numero di righe upsertate (0 = invariata)."""
|
||||
from tht.ports.vector import VectorWriteRecord
|
||||
|
||||
|
||||
Reference in New Issue
Block a user