UiPath Documentation
getting-started
latest
false
入门开发者指南
  • 概述
    • 概述
  • UiPath 智能体入门
  • 开始使用 UiPath 智能体(采用 LangGraph)
  • 在 Studio Web 中构建低代码智能体
    • 简介
    • 构建智能体
    • 测试智能体
  • 向 UiPath 智能体添加工具
重要 :
请注意,此内容已使用机器翻译进行了本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

测试智能体

在调试面板中运行任务顾问,并验证它是否可以对任务进行分类并返回副本。

智能体配置后,您就可以根据真实的任务描述对其进行测试了。

步骤 4 - 测试智能体

在顶部工具栏中选择“调试” 。系统将打开调试面板,您可以在其中使用示例输入运行智能体。

  1. 在输入面板中,粘贴以下字符串:
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.
  1. 选择保存并调试,运行智能体。

智能体应返回tier1和一个包含地精和类似的低级别威胁的monsters列表。如果恢复到更高的级别,请检查“步骤 3:可能未正确捕获层边界”中的系统提示词。

要访问返回结果:

  1. 选择 Studio Web 画布底部的“执行追踪记录”
  2. “执行追踪”面板中,选择Agent Output ,这将更新“智能体输出”面板。
  3. 查看智能体返回的tiermonstersreasoning
  4. 展开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 根据简单语言说明新建了一个智能体项目。
  • 审核并确认智能体画布中的系统提示词、输入架构和输出架构。
  • 在所有难度级别运行了三个实时测试用例并解释了结果。

后续操作

  • 步骤 4 - 测试智能体
  • 层级 2 - 国家/地区级别威胁
  • 层级 4 - 巨大的威胁
  • 您构建的内容
  • 后续操作

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新