You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/tools/memory.mdx
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,11 @@ Add a new memory to the database or append to existing memory with the same ID.
26
26
27
27
| Parameter | Type | Required | Description |
28
28
| --------- | ---- | -------- | ----------- |
29
-
|`conversationId`| string | Yes | Conversation identifier \(e.g., user-123, session-abc\). If a memory with this conversationId already exists for this block, the new message will be appended to it. |
29
+
|`conversationId`| string | No | Conversation identifier \(e.g., user-123, session-abc\). If a memory with this conversationId already exists for this block, the new message will be appended to it. |
30
+
|`id`| string | No | Legacy parameter for conversation identifier. Use conversationId instead. Provided for backwards compatibility. |
30
31
|`role`| string | Yes | Role for agent memory \(user, assistant, or system\)|
31
32
|`content`| string | Yes | Content for agent memory |
32
-
|`blockId`| string | No | Optional block ID. If not provided, uses the current block ID from execution context. |
33
+
|`blockId`| string | No | Optional block ID. If not provided, uses the current block ID from execution context, or defaults to "default". |
33
34
34
35
#### Output
35
36
@@ -48,6 +49,7 @@ Retrieve memory by conversationId, blockId, blockName, or a combination. Returns
48
49
| Parameter | Type | Required | Description |
49
50
| --------- | ---- | -------- | ----------- |
50
51
|`conversationId`| string | No | Conversation identifier \(e.g., user-123, session-abc\). If provided alone, returns all memories for this conversation across all blocks. |
52
+
|`id`| string | No | Legacy parameter for conversation identifier. Use conversationId instead. Provided for backwards compatibility. |
51
53
|`blockId`| string | No | Block identifier. If provided alone, returns all memories for this block across all conversations. If provided with conversationId, returns memories for that specific conversation in this block. |
52
54
|`blockName`| string | No | Block name. Alternative to blockId. If provided alone, returns all memories for blocks with this name. If provided with conversationId, returns memories for that conversation in blocks with this name. |
53
55
@@ -87,6 +89,7 @@ Delete memories by conversationId, blockId, blockName, or a combination. Support
87
89
| Parameter | Type | Required | Description |
88
90
| --------- | ---- | -------- | ----------- |
89
91
|`conversationId`| string | No | Conversation identifier \(e.g., user-123, session-abc\). If provided alone, deletes all memories for this conversation across all blocks. |
92
+
|`id`| string | No | Legacy parameter for conversation identifier. Use conversationId instead. Provided for backwards compatibility. |
90
93
|`blockId`| string | No | Block identifier. If provided alone, deletes all memories for this block across all conversations. If provided with conversationId, deletes memories for that specific conversation in this block. |
91
94
|`blockName`| string | No | Block name. Alternative to blockId. If provided alone, deletes all memories for blocks with this name. If provided with conversationId, deletes memories for that conversation in blocks with this name. |
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/tools/neo4j.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Integrate Neo4j graph database into the workflow. Can query, create, merge, upda
20
20
21
21
### `neo4j_query`
22
22
23
-
Execute MATCH queries to read nodes and relationships from Neo4j graph database
23
+
Execute MATCH queries to read nodes and relationships from Neo4j graph database. For best performance and to prevent large result sets, include LIMIT in your query (e.g.,
24
24
25
25
#### Input
26
26
@@ -33,8 +33,8 @@ Execute MATCH queries to read nodes and relationships from Neo4j graph database
33
33
|`password`| string | Yes | Neo4j password |
34
34
|`encryption`| string | No | Connection encryption mode \(enabled, disabled\)|
35
35
|`cypherQuery`| string | Yes | Cypher query to execute \(typically MATCH statements\)|
36
-
|`parameters`| object | No | Parameters for the Cypher query as a JSON object |
37
-
|`limit`|number| No |Maximum number of records to return|
36
+
|`parameters`| object | No | Parameters for the Cypher query as a JSON object. Use for any dynamic values including LIMIT \(e.g., query: "MATCH \(n\) RETURN n LIMIT $limit", parameters: \{limit: 100\}\).|
description: 'Execute MATCH queries to read nodes and relationships from Neo4j graph database',
7
+
description:
8
+
'Execute MATCH queries to read nodes and relationships from Neo4j graph database. For best performance and to prevent large result sets, include LIMIT in your query (e.g., "MATCH (n:User) RETURN n LIMIT 100") or use LIMIT $limit with a limit parameter.',
description: 'Parameters for the Cypher query as a JSON object',
58
-
},
59
-
limit: {
60
-
type: 'number',
61
-
required: false,
62
-
visibility: 'user-or-llm',
63
-
description: 'Maximum number of records to return',
58
+
description:
59
+
'Parameters for the Cypher query as a JSON object. Use for any dynamic values including LIMIT (e.g., query: "MATCH (n) RETURN n LIMIT $limit", parameters: {limit: 100}).',
0 commit comments