AI Extract (Structured)
Extract structured fields from text with an LLM and store them as a JSON object (use {{{var[field]}}} to read each one).
概述
AI Extract (Structured) 是 AutoFlowRPA 中 AI 类别下的无代码自动化步骤。 当工作流执行到此处时,它会在单个步骤中完成其操作。 您可以配置 7 个参数,精确控制其行为方式。 它是可在可视化编辑器中拖入工作流的 340 个命令之一,无需编写脚本。
功能说明
Extract structured fields from text with an LLM and store them as a JSON object (use {{{var[field]}}} to read each one).
参数
| 参数 | 类型 | 是否必填 | 默认值 | 说明 |
|---|---|---|---|---|
| API base URL | string | 必填 | http://localhost:11434/v1 | OpenAI-compatible base. Default = local Ollama (offline). 支持变量 |
| API key (blank for local) | string | 可选 | Bearer token for cloud providers. 支持变量 | |
| Model | string | 必填 | llama3 | 示例: llama3 支持变量 |
| Source text | multiline | 必填 | 示例: {{{emailBody}}} 支持变量 | |
| Fields to extract | multiline | 必填 | One field per line, as 'name: description'. The model returns a JSON object with these keys. 示例: name: the person's full name
email: their email address
amount: the invoice total as a number 支持变量 | |
| Timeout (seconds) | number | 可选 | 180 | |
| Store object in | variable | 必填 | 示例: extracted |
如何使用 AI Extract (Structured)
- 1
打开 AutoFlowRPA,将 AI Extract (Structured) 命令从 AI 分组拖放到画布上。
- 2
在侧边面板中设置其参数——AI Extract (Structured) 有 7 个可配置字段。
- 3
将它连入你的工作流并点击运行。一切都在你的本机上本地执行。
常见问题
AI Extract (Structured) 命令有什么作用?
Extract structured fields from text with an LLM and store them as a JSON object (use {{{var[field]}}} to read each one).
AI Extract (Structured) 命令属于哪个分组?
AI Extract (Structured) 属于 AI 分组。AutoFlowRPA 附带 340+ 个现成命令,无需代码即可组合使用。
AI Extract (Structured) 命令需要任何参数吗?
需要——AI Extract (Structured) 有 7 个可配置字段,均可在可视化节点编辑器中编辑。