Dateien nach "app/core" hochladen
All checks were successful
Deploy mindnet to llm-node / deploy (push) Successful in 3s
All checks were successful
Deploy mindnet to llm-node / deploy (push) Successful in 3s
This commit is contained in:
parent
197242ca42
commit
21924541dc
|
|
@ -136,7 +136,7 @@ def _coerce_for_collection(client: QdrantClient, collection_name: str, points: L
|
|||
if isinstance(vec, dict):
|
||||
fixed.append(pt) # already named
|
||||
elif vec is not None:
|
||||
fixed.append(rest.PointStruct(id=pt.id, vector={primary: vec}, payload=pt.payload))
|
||||
fixed.append(rest.PointStruct(id=pt.id, vectors={primary: vec}, payload=pt.payload))
|
||||
else:
|
||||
fixed.append(pt) # edges with no vector (shouldn't happen) or already correct
|
||||
return fixed
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user