Update qdrant.py (#1088)

Fixes #1087
This commit is contained in:
Rishabh Raizada 2023-02-16 20:36:02 +05:30 committed by GitHub
parent 7745505482
commit 5d11e5da40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,6 +224,6 @@ class Qdrant(VectorStore):
@classmethod
def _document_from_scored_point(cls, scored_point: Any) -> Document:
return Document(
page_content=scored_point.payload.get("page_content"),
page_content=scored_point.payload.get("content"),
metadata=scored_point.payload.get("metadata") or {},
)