localGPT icon indicating copy to clipboard operation
localGPT copied to clipboard

How do I add memory to chat-zero-shot-react-description?

Open vishnua2j opened this issue 1 year ago • 0 comments

The below code is not able to access chat histroy..Can someone help me here?

CODE

memory - ConversationBufferMemory(memory_key="chat_history", return_messages-True

conversational_agent initialize_agent(

agent="chat-zero-shot-react-description"

tools=[search_tool],#, LLM_tool],

11m-11m,

verbose-True,

max_iterations-3,

memory-memory,)

vishnua2j avatar Mar 22 '24 06:03 vishnua2j