fix: harden qdrant payload and paging
This commit is contained in:
@@ -30,6 +30,7 @@ def qdrant_semantic_kind(kind: str) -> str:
|
||||
def qdrant_payload(record: VectorRecord, *, content_hash: str, workspace_id: str) -> dict:
|
||||
semantic_kind = qdrant_semantic_kind(record.kind)
|
||||
return {
|
||||
**record.metadata,
|
||||
"workspace_id": workspace_id,
|
||||
"kind": semantic_kind,
|
||||
"record_kind": record.kind,
|
||||
@@ -38,7 +39,6 @@ def qdrant_payload(record: VectorRecord, *, content_hash: str, workspace_id: str
|
||||
"title": record.title,
|
||||
"content": record.content,
|
||||
"content_hash": content_hash,
|
||||
**record.metadata,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user