向量存储问答工具节点(Vector Store Question Answer Tool node)#
向量存储问答节点是一个工具,它允许代理根据来自向量存储的片段总结结果并回答问题。
🌐 The Vector Store Question Answer node is a tool that allows an agent to summarize results and answer questions based on chunks from a vector store.
本页包含向量存储问答节点的节点参数以及更多资源的链接。
🌐 On this page, you'll find the node parameters for the Vector Store Question Answer node, and links to more resources.
Examples and templates
For usage examples and templates to help you get started, refer to n8n's Vector Store Question Answer Tool integrations page.
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 parameters)#
数据描述(Description of Data)#
输入向量存储中数据的描述。
🌐 Enter a description of the data in the vector store.
限制(Limit)#
要返回的最大结果数。
🌐 The maximum number of results to return.
n8n 如何填充工具描述(How n8n populates the tool description)#
n8n 使用节点名称(选择名称进行编辑)和 数据描述 参数来为 AI 代理填充工具描述,格式如下:
🌐 n8n uses the node name (select the name to edit) and Description of Data parameter to populate the tool description for AI agents using the following format:
当你需要回答有关 [节点名称] 的问题时,这非常有用。每当你需要有关 [数据描述] 的信息时,你都应该始终使用它。输入应为完整的提问。
节点名称中的空格会在工具描述中转换为下划线。
🌐 Spaces in the node name are converted to underscores in the tool description.
相关资源(Related resources)#
在 n8n 网站上查看示例工作流及相关内容。
🌐 View example workflows and related content on n8n's website.
Refer to LangChain's documentation on tools for more information about tools in LangChain.
View n8n's Advanced AI documentation.
