向量存储问答工具节点#
¥Vector Store Question Answer Tool node
“向量存储问答”节点是一个 tool,它允许 agent 根据 矢量商店 中的数据块汇总结果并回答问题。
¥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
有关使用示例和模板以帮助你入门,请参阅 n8n 的 矢量存储问答工具集成 页面。
¥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:
用于回答有关 [节点名称] 的问题。当你需要有关“数据描述”的信息时,请务必使用此方法。输入应为完整的问题。
¥Useful for when you need to answer questions about [node name]. Whenever you need information about [Description of Data], you should ALWAYS use this. Input should be a fully formed question.
节点名称中的空格会在工具描述中转换为下划线。
¥Spaces in the node name are converted to underscores in the tool description.
Avoid special characters in node names
在节点名称中使用特殊字符会导致代理运行时出错:
¥Using special characters in the node name will cause errors when the agent runs:
节点名称中仅使用字母数字字符、空格、短横线和下划线。
¥Use only alphanumeric characters, spaces, dashes, and underscores in node names.
相关资源#
¥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.
