Feat/delete single dataset retrival (#6570)
This commit is contained in:
parent
0fb741f269
commit
e4bb943fe5
22 changed files with 651 additions and 115 deletions
|
|
@ -396,9 +396,11 @@ class QdrantVector(BaseVector):
|
|||
documents = []
|
||||
for result in results:
|
||||
if result:
|
||||
documents.append(self._document_from_scored_point(
|
||||
document = self._document_from_scored_point(
|
||||
result, Field.CONTENT_KEY.value, Field.METADATA_KEY.value
|
||||
))
|
||||
)
|
||||
document.metadata['vector'] = result.vector
|
||||
documents.append(document)
|
||||
|
||||
return documents
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue