<your-Zentry-api-key>
with your actual API key:
ZentryMemory
constructor. It can be any of the following:
search_msg_limit
is optional, default is 5. It is the number of messages from the chat history to be used for memory retrieval from Zentry. More number of messages will result in more context being used for retrieval but will also increase the retrieval time and might result in some unwanted results.
search_msg_limit
is different from limit
. limit
is the number of messages to be retrieved from Zentry and is used in search.SimpleChatEngine
to start a chat with the agent with the memory.