memory parameter uses in the Agent #2781
Unanswered
mallesh-sourcefuse
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is the memory parameter in CrewAI's Agent class limited to a boolean option for default memory, or can it also accept a Langchain memory object for more advanced configurations?
research_agent = Agent( role="Researcher", goal="Gather relevant information.", backstory="Expert researcher.", llm=llm, memory=ConversationBufferWindowMemory(k=3, memory_key="chat_history", return_messages=True), verbose=True )
By passing chat history to the agent to understand the conversation flow and respond more accurately. Does CrewAI support passing custom chat history through Langchain memory objects?
@lucasgomide Can you please check this ??
Beta Was this translation helpful? Give feedback.
All reactions