Files
langchain-python/langchain
Vincent 9e36d7b82c adding add_documents and aadd_documents to class RedisVectorStoreRetriever (#3419)
Ran into this issue In vectorstores/redis.py when trying to use the
AutoGPT agent with redis vector store. The error I received was

`
langchain/experimental/autonomous_agents/autogpt/agent.py", line 134, in
run
    self.memory.add_documents([Document(page_content=memory_to_add)])
AttributeError: 'RedisVectorStoreRetriever' object has no attribute
'add_documents'
`

Added the needed function to the class RedisVectorStoreRetriever which
did not have the functionality like the base VectorStoreRetriever in
vectorstores/base.py that, for example, vectorstores/faiss.py has
2023-04-25 13:53:20 -07:00
..
2023-04-25 10:40:37 -07:00
2023-04-24 22:16:07 -07:00
2023-03-22 23:15:04 -07:00
2023-04-24 22:19:47 -07:00
2023-04-24 22:15:12 -07:00
2023-04-25 08:09:17 -07:00
2023-04-22 08:24:48 -07:00
2023-04-12 14:16:58 -07:00
2023-04-24 19:54:15 -07:00
2022-11-12 11:22:32 -08:00
2023-02-20 21:15:45 -08:00
2023-04-15 16:05:11 -07:00
2023-04-24 21:10:56 -07:00
2023-04-24 21:48:29 -07:00