Implementation of "Generative Agents: Interactive Simulacra of Human Behavior" paper with Guidance and Langchain. Full features and work with local LLMs.
Other
270
stars
36
forks
source link
BaseRetriever.get_relevant_documents() takes 2 positional arguments but 3 were given #6
Hi, I think it is a problem with the new langchain version. Before I can make it work with the latest langchain, you may downgrade langchain as pip install langchain==0.0.190
Update
I can get around this by making
def get_relevant_documents(self, query: str, current_time=None)
and invoking
I really don't understand the issue - is it the timestamp passed?