Skip to main content

add

Method
This is a method of the MongoDBMemory class in the knowledge module.
Add memory to MongoDB.

Signature

def add(messages: Any, user_id: Any, agent_id: Any, run_id: Any, metadata: Any) -> Any

Parameters

messages
Any
required
No description available.
user_id
Any
No description available.
agent_id
Any
No description available.
run_id
Any
No description available.
metadata
Any
No description available.

Returns

Returns
Any
The result of the operation.