undo vectstore memory bug (#8007)

This commit is contained in:
Bagatur 2023-07-20 07:25:23 -07:00 committed by GitHub
parent 453d4c3a99
commit ea028b66ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,6 @@ class VectorStoreRetrieverMemory(BaseMemory):
texts = [
f"{k}: {v}"
for k, v in list(filtered_inputs.items()) + list(outputs.items())
if k not in exclude
]
page_content = "\n".join(texts)
return [Document(page_content=page_content)]