Mem0 API key
, you can use it to initialize the client. Alternatively, you can initialize Mem0 without an API key if you’re using it locally.
Mem0 supports several language models (LLMs) through integration with various providers.
user_id
(Optional[str]): Identifier for the user.
agent_id
(Optional[str]): Identifier for the agent.
run_id
(Optional[str]): Identifier for the run.
metadata
(Optional[dict]): Additional metadata to be stored with the memory.
filters
(Optional[dict]): Filters to apply when searching for relevant memories.
limit
(Optional[int]): Maximum number of relevant memories to retrieve. Default is 10.