getting-started
latest
false
入门开发者指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
在调试面板中运行任务顾问,并验证它是否可以对任务进行分类并返回副本。
智能体配置后,您就可以根据真实的任务描述对其进行测试了。
步骤 4 - 测试智能体
在顶部工具栏中选择“调试” 。系统将打开调试面板,您可以在其中使用示例输入运行智能体。
- 在输入面板中,粘贴以下字符串:
Goblins have been raiding farms near the village of Millhaven and stealing livestock. The local mayor has posted a small bounty for anyone willing to clear out the nearby cave.
Goblins have been raiding farms near the village of Millhaven and stealing livestock. The local mayor has posted a small bounty for anyone willing to clear out the nearby cave.
-
选择保存并调试,运行智能体。
智能体应返回tier的1和一个包含地精和类似的低级别威胁的monsters列表。如果恢复到更高的级别,请检查“步骤 3:可能未正确捕获层边界”中的系统提示词。
要访问返回结果:
- 选择 Studio Web 画布底部的“执行追踪记录” 。
- 在“执行追踪”面板中,选择
Agent Output,这将更新“智能体输出”面板。 - 查看智能体返回的
tier、monsters和reasoning。 - 展开
reasoning文本可查看完整的字符串。
重要提示:
智能体具有非确定性。即使将温度设置为 0,模型在不同运行中返回的生物列表也可能略有不同。目标是合理的层分类和主题上适当的列表,而不是特定的确切值。
请尝试使用以下两个额外的输入来测试不同的难度级别:
层级 2 - 国家/地区级别威胁
A young dragon has claimed the mountain pass connecting two kingdoms, demanding tribute from all merchant caravans passing through. Trade has ground to a halt and the king needs someone to deal with it.
A young dragon has claimed the mountain pass connecting two kingdoms, demanding tribute from all merchant caravans passing through. Trade has ground to a halt and the king needs someone to deal with it.
预期: 2位,且有命令和可能的强盗/雇工伙伴。
层级 4 - 巨大的威胁
A demon lord has torn open a rift to the Abyss above the capital city. The sky burns red, fiends pour through in endless waves, and reality itself is beginning to unravel.
A demon lord has torn open a rift to the Abyss above the capital city. The sky burns red, fiends pour through in endless waves, and reality itself is beginning to unravel.
预期: 4位,存在守护者领主、大魔头以及其他位面威胁。
您构建的内容
您已在 Studio Web 中构建并测试了低代码智能体:
- 使用 Autopilot 根据简单语言说明新建了一个智能体项目。
- 审核并确认智能体画布中的系统提示词、输入架构和输出架构。
- 在所有难度级别运行了三个实时测试用例并解释了结果。
后续操作
- UiPath 智能体入门- 使用
uip agent init从 CLI 构建和配置低代码智能体,而无需打开 Studio Web,然后在其中上传并进行测试。 - 向您的 UiPath 智能体添加工具- 使用调用外部 API 的工具扩展智能体。
- UiPath 智能体文档- 有关低代码和编码智能体功能的完整参考。
- UiPath 社区- 论坛、操作方法和开发者讨论。