correct format descriptions

This commit is contained in:
Riskey
2025-12-18 14:59:22 +08:00
parent eba722de54
commit 230905536f
3 changed files with 5 additions and 7 deletions
+2 -4
View File
@@ -6,6 +6,8 @@ icon: "filter"
The List Operator node processes arrays by filtering, sorting, and selecting specific elements. Use it when you need to work with mixed file uploads, large datasets, or any array data that requires separation or organization before downstream processing.
Supported input data types include `array[string]`, `array[number]`, `array[file]`, and `array[boolean]`.
<Frame caption="List Operator node interface">
<img src="https://assets-docs.dify.ai/dify-enterprise-mintlify/en/guides/workflow/node/522a0c932aab93d4f3970168412f759e.png" alt="List Operator interface" />
</Frame>
@@ -20,10 +22,6 @@ The List Operator acts as an intelligent router, using filters to separate mixed
<img src="https://assets-docs.dify.ai/dify-enterprise-mintlify/en/guides/workflow/node/812d1b2f167065e17df8392b2cb3cc8a.png" alt="Array processing example" />
</Frame>
## Supported Data Types
`array[string]`, `array[number]`, `array[file]`, and `array[boolean]`.
## Operations
### Filtering
+1 -1
View File
@@ -75,7 +75,7 @@ You can configure custom input fields in a User Input node to collect different
</Tab>
<Tab title="JSON Code">
Accepts structured data in JSON format as an object, ideal for passing complex, nested data structures into your application.
Accepts data in JSON object format, ideal for passing complex, nested data structures into your application.
You can optionally define a JSON schema to validate the input and guide users on the expected structure. This also allows you to reference individual properties of the object in other nodes.
</Tab>
+2 -2
View File
@@ -66,7 +66,7 @@ Different variable types support different operations based on their data struct
<Tab title="Object">
- **Overwrite** - Replace with another object variable
- **Clear** - Remove the current values
- **Clear** - Remove the current value
- **Set** - Manually define the object structure and values
</Tab>
@@ -80,7 +80,7 @@ Different variable types support different operations based on their data struct
- **Extend** - Add all elements from another array of the same type
- **Remove First/Last** - Remove elements from the first or last position
- **Remove First/Last** - Remove the first or last element from the array
<Tip>
Array operations are particularly powerful for building memory systems, checklists, and conversation histories that grow over time.