Skip to content

Wikipedia node#

Wikipedia 节点#

The Wikipedia node is a tool that allows an agent to search and return information from Wikipedia.

Wikipedia 节点是一个 工具,允许 代理 搜索并返回来自 Wikipedia 的信息。

子节点中的参数解析

子节点在使用表达式处理多个项目时的行为与其他节点不同。

大多数节点,包括根节点,接受任意数量的项目作为输入,处理这些项目,并输出结果。您可以使用表达式引用输入项目,节点会依次为每个项目解析表达式。例如,给定五个 name 值的输入,表达式 {{ $json.name }} 会依次解析为每个名称。

在子节点中,表达式始终解析为第一个项目。例如,给定五个 name 值的输入,表达式 {{ $json.name }} 始终解析为第一个名称。

Templates and examples#

模板和示例#

Respond to WhatsApp Messages with AI Like a Pro!

by Jimleuk

View template details
AI chatbot that can search the web

by n8n Team

View template details
Write a WordPress post with AI (starting from a few keywords)

by Giulio

View template details
Browse Wikipedia integration templates, or search all templates

相关资源#

有关 LangChain 中工具的更多信息,请参阅 LangChain 关于工具的文档

查看 n8n 的高级 AI文档。

AI 术语表#

  • completion(完成/补全): 完成是由 GPT 等模型生成的响应。
  • hallucinations(幻觉): AI 中的幻觉是指大语言模型(LLM)错误地感知到不存在的模式或对象。
  • vector database(向量数据库): 向量数据库存储信息的数学表示。与嵌入和检索器一起使用,创建 AI 在回答问题时可以访问的数据库。
  • vector store(向量存储): 向量存储或向量数据库,存储信息的数学表示。与嵌入和检索器一起使用,创建 AI 在回答问题时可以访问的数据库。