Vector Store Question Answer Tool node#
Vector Store Question Answer Tool 节点#
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.
Vector Store Question Answer 节点是一个 工具,允许 代理 根据 向量存储 中的块总结结果并回答问题。
On this page, you'll find the node parameters for the Vector Store Question Answer node, and links to more resources.
在此页面上,您将找到 Vector Store Question Answer 节点的节点参数以及更多资源的链接。
Examples and templates
示例和模板
For usage examples and templates to help you get started, refer to n8n's Vector Store Question Answer Tool integrations page.
有关使用示例和模板以帮助您入门,请参阅 n8n 的 Vector Store Question Answer Tool 集成 页面。
子节点中的参数解析
子节点在使用表达式处理多个项目时的行为与其他节点不同。
大多数节点,包括根节点,接受任意数量的项目作为输入,处理这些项目,并输出结果。您可以使用表达式引用输入项目,节点会依次为每个项目解析表达式。例如,给定五个 name
值的输入,表达式 {{ $json.name }}
会依次解析为每个名称。
在子节点中,表达式始终解析为第一个项目。例如,给定五个 name
值的输入,表达式 {{ $json.name }}
始终解析为第一个名称。
Node parameters#
节点参数#
Description of Data#
数据描述#
Enter a description of the data in the vector store.
输入向量存储中数据的描述。
Limit#
限制#
The maximum number of results to return.
要返回的最大结果数。
How n8n populates the tool description#
n8n 如何填充工具描述#
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:
n8n 使用节点名称(选择名称进行编辑)和 Description of Data 参数为 AI 代理填充工具描述,使用以下格式:
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#
相关资源#
View example workflows and related content on n8n's website.
在 n8n 的网站上查看 示例工作流程和相关内容。
有关 LangChain 中工具的更多信息,请参阅 LangChain 关于工具的文档。
查看 n8n 的高级 AI文档。
AI 术语表#
- completion(完成/补全): 完成是由 GPT 等模型生成的响应。
- hallucinations(幻觉): AI 中的幻觉是指大语言模型(LLM)错误地感知到不存在的模式或对象。
- vector database(向量数据库): 向量数据库存储信息的数学表示。与嵌入和检索器一起使用,创建 AI 在回答问题时可以访问的数据库。
- vector store(向量存储): 向量存储或向量数据库,存储信息的数学表示。与嵌入和检索器一起使用,创建 AI 在回答问题时可以访问的数据库。