项目列表输出解析器节点(Item List Output Parser node)#
使用“项目列表输出解析器”节点,返回具有特定长度和分隔符的项目列表。
🌐 Use the Item List Output Parser node to return a list of items with a specific length and separator.
Parameter resolution in sub-nodes
Sub-nodes behave differently to other nodes when processing multiple items using an expression.
Most nodes, including root nodes, take any number of items as input, process these items, and output the results. You can use expressions to refer to input items, and the node resolves the expression for each item in turn. For example, given an input of five name values, the expression {{ $json.name }} resolves to each name in turn.
In sub-nodes, the expression always resolves to the first item. For example, given an input of five name values, the expression {{ $json.name }} always resolves to the first name.
节点选项(Node options)#
- 项目数量:输入要返回的最大项目数。设置为
-1表示返回无限项目。 - 分隔符:选择用于将结果分割成独立项的分隔符。默认是换行符。
模板和示例(Templates and examples)#
相关资源(Related resources)#
有关该服务的更多信息,请参阅 LangChain 的输出解析器文档。
🌐 Refer to LangChain's output parser documentation for more information about the service.
View n8n's Advanced AI documentation.