- 开始使用
- 最佳实践
- 功能
- 技能
- CLI
- 示例
- 高级
- 帮助
This recipe builds an IXP (Intelligent Xtraction and Processing) project that reads invoices and returns structured data — including invoice fields and line items. It shows the full loop from a folder of sample documents to a published project you can call from an automation.
使用编码智能体构建 IXP 项目目前为公开预览阶段,因此在正式发布之前,确切的命令和功能可能会发生变化。
先决条件
- 已安装
uipCLI 和技能,以及已通过身份验证的会话(请参阅安装和设置)。 - 包含 3–5 张发票示例(PDF 或图像)的工作文件夹。
Build the project
-
在保存示例发票的文件夹中打开编码智能体。
-
使用以下任务对其提示:
“从此文件夹中的发票创建一个 IXP 项目。提取发票编号、开票日期、总金额和明细项目,然后根据每个文档查看预测结果。
智能体创建项目,IXP 提出分类建议并预测值,智能体将审核每个预测,确认正确的字段,将错误的字段留待您检查。
-
Ask the agent how the project is performing:
“显示每个字段的提取分数。”
-
改进低分字段:
"The total amount is scoring poorly. Improve its extraction instructions."
-
Publish the project once the scores are strong:
"Publish the project and tag it as live."
Result: a published IXP project that extracts structured data from invoices, ready to be consumed by an RPA or API workflow.
IXP 生成预测;智能体根据文档对其进行审核,而不是手动输入值。通过更清晰的字段指令和更多已确认的示例来提高提取质量 — 从 5–10 张发票开始,在遇到边缘用例时添加更多发票。
更深入了解
For building, deploying, and consuming projects in depth, see the IXP documentation.