Improve Docs: Agent Id - Mem0 OSS Graph Memory (#2969)
This commit is contained in:
@@ -238,7 +238,7 @@ The Mem0's graph supports the following operations:
|
||||
### Add Memories
|
||||
|
||||
<Note>
|
||||
Mem0 with Graph Memory supports both `user_id` and `agent_id` parameters. You can use either or both to organize your memories. Use `userId` and `agentId` in NodeSDK.
|
||||
Mem0 with Graph Memory supports both "user_id" and "agent_id" parameters. You can use either or both to organize your memories. Use "userId" and "agentId" in NodeSDK.
|
||||
</Note>
|
||||
|
||||
<CodeGroup>
|
||||
@@ -552,7 +552,9 @@ memory.search("Who is spiderman?", { userId: "alice123" });
|
||||
|
||||
## Using Multiple Agents with Graph Memory
|
||||
|
||||
When working with multiple agents, you can use the `agent_id` parameter to organize memories by both user and agent. This allows you to:
|
||||
|
||||
When working with multiple agents, you can use the "agent_id" parameter to organize memories by both user and agent. This allows you to:
|
||||
|
||||
|
||||
1. Create agent-specific knowledge graphs
|
||||
2. Share common knowledge between agents
|
||||
|
||||
Reference in New Issue
Block a user