mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-27 00:48:45 +00:00
undo vectstore memory bug (#8007)
This commit is contained in:
parent
453d4c3a99
commit
ea028b66ab
@ -64,7 +64,6 @@ class VectorStoreRetrieverMemory(BaseMemory):
|
|||||||
texts = [
|
texts = [
|
||||||
f"{k}: {v}"
|
f"{k}: {v}"
|
||||||
for k, v in list(filtered_inputs.items()) + list(outputs.items())
|
for k, v in list(filtered_inputs.items()) + list(outputs.items())
|
||||||
if k not in exclude
|
|
||||||
]
|
]
|
||||||
page_content = "\n".join(texts)
|
page_content = "\n".join(texts)
|
||||||
return [Document(page_content=page_content)]
|
return [Document(page_content=page_content)]
|
||||||
|
Loading…
Reference in New Issue
Block a user