跳到主要内容

AI Knowledge Answer (RAG)

Answer a question grounded in your own documents. The command chunks the sources, retrieves the most relevant passages (offline TF-IDF) and asks the LLM to answer using only those passages — reducing hallucination.

AIAIRagAnswer

概述

AI Knowledge Answer (RAG) 是 AutoFlowRPA 中 AI 类别下的无代码自动化步骤。 当工作流执行到此处时,它会在单个步骤中完成其操作。 您可以配置 10 个参数,精确控制其行为方式。 它是可在可视化编辑器中拖入工作流的 369 个命令之一,无需编写脚本。

功能说明

Answer a question grounded in your own documents. The command chunks the sources, retrieves the most relevant passages (offline TF-IDF) and asks the LLM to answer using only those passages — reducing hallucination.

参数

参数类型是否必填默认值说明
API base URLstring
必填http://localhost:11434/v1OpenAI-compatible base. Default = local Ollama (offline).
支持变量
API key (blank for local)string
可选Bearer token for cloud providers.
支持变量
Modelstring
必填llama3
示例: llama3
支持变量
Knowledge sourcesmultiline
必填Paste text, or give a file, a folder, or a glob (*.md/*.txt/*.csv/*.json/*.html). Multiple files are all indexed.
示例: C:/docs/handbook
支持变量
Questionmultiline
必填
示例: What is our refund policy?
支持变量
Passages to retrievenumber
可选4How many top passages to feed the model as context.
Temperaturenumber
可选0.1
Timeout (seconds)number
可选180
Store answer invariable
必填
示例: answer
Store retrieved context in (optional)variable
可选
示例: sources

如何使用 AI Knowledge Answer (RAG)

  1. 1

    打开 AutoFlowRPA,将 AI Knowledge Answer (RAG) 命令从 AI 分组拖放到画布上。

  2. 2

    在侧边面板中设置其参数——AI Knowledge Answer (RAG) 有 10 个可配置字段。

  3. 3

    将它连入你的工作流并点击运行。一切都在你的本机上本地执行。

常见问题

AI Knowledge Answer (RAG) 命令有什么作用?

Answer a question grounded in your own documents. The command chunks the sources, retrieves the most relevant passages (offline TF-IDF) and asks the LLM to answer using only those passages — reducing hallucination.

AI Knowledge Answer (RAG) 命令属于哪个分组?

AI Knowledge Answer (RAG) 属于 AI 分组。AutoFlowRPA 附带 369+ 个现成命令,无需代码即可组合使用。

AI Knowledge Answer (RAG) 命令需要任何参数吗?

需要——AI Knowledge Answer (RAG) 有 10 个可配置字段,均可在可视化节点编辑器中编辑。

更多 AI 命令

准备好自动化你的繁琐工作了吗?

立即开始 30 天免费试用。无需信用卡,无任何约束。