- はじめに
- UiPath Agents の利用を開始する
- LangGraph を使用した UiPath Agents の利用を開始する
- Studio Web でローコード エージェントを構築する
- はじめに
- エージェントを構築する
- エージェントをテストする
- エージェントを評価する
- UiPath エージェントにツールを追加する
- UiPath Maestro のフロー キャンバスの使用を開始する
エージェントをテストする
Studio Web デバッガーでクエスト分類器を 5 つのサンプル クエストに対して実行し、返される層と推論を確認します。
エージェントを設定したら、実際のクエストの説明に対してテストできます。
手順 4 - エージェントをテストする
上部のツールバーで [ デバッグ ] を選択します。[ デバッグ設定 ] ダイアログが開き、サンプル入力を使用してエージェントを実行できます。
- [ エントリ ポイントの引数 ] タブで、次のクエストを [
questDescription] フィールドに貼り付けます。
Clear the rats out of the inn cellar. They are loud and they are eating all of the cheese.
Clear the rats out of the inn cellar. They are loud and they are eating all of the cheese.
-
[ 保存してデバッグ ] を選択してエージェントを実行します。
-
Studio Web キャンバスの下部にある [ 実行証跡 ] を選択します。
-
[実行トレース] パネルで [エージェントの実行] - [エージェント] を選択します。これにより、実行の入力と出力が表示されます。
-
reasoningテキストを展開して、文字列全体を表示します。 -
エージェントから返された
tierとreasoningを確認します。
エージェントは、2 文の推論を含むTrivialのtierを返す必要があります。
エージェントは非決定論的です。推論のテキストは実行によって異なるため、特定の文言ではなく、適切な層と賢明な推論を確認してください。
次に、より大きな脅威に対してエージェントを実行します。
Slay the ancient red dragon terrorizing the countryside.
Slay the ancient red dragon terrorizing the countryside.
期待されるレベル: ティア Legendary
この実行の理由をお読みください。ドラゴンは危険だからドラゴンが危険だと言っている可能性が高い。回答には実際のデータと照合する内容は何もありません。分類は完全にモデルのトレーニングに基づいて行われます。[ UiPath エージェント ラボにツールを追加する ] アクティビティを使用すると、エージェントは 5e SRD (システム リファレンス ドキュメント) に対してライブで検索できるため、推論から実際のデータを引用できます。
さらに3つのクエストを実行する
次の各クエストを同じ方法で実行します。次のセクションでは 5 回の実行をすべて使用するため、次のセクションを開始する前に 1 回の実行を終了させてください。
Deliver a sealed letter to the magistrate in the next town.
Deliver a sealed letter to the magistrate in the next town.
期待されるレベル: ティア Trivial
Escort a merchant caravan through the hill country to the coast.
Escort a merchant caravan through the hill country to the coast.
期待されるレベル: ティア Standard
Recover a stolen relic from a noble's estate. The guards are many, the owner is powerful, and nobody who has tried has come back.
Recover a stolen relic from a noble's estate. The guards are many, the owner is powerful, and nobody who has tried has come back.
期待されるレベル: ティア Heroic または Standardこのクエストは意図的に呼び出すのが難しく、どちらの答えも弁護可能です。
実行で同意しない層が返された場合は、続行する前に再実行するか、システム プロンプトを調整します。次のセクションでは、各実行の出力を正しい答えとして扱います。
試してみるその他のクエスト( オプション)
これらは追加の練習であり、次のセクションで説明する評価セットには含まれません。実行する場合は、履歴から実行を追加するときに除外します。
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.
期待されるレベル: ティア Trivial
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.
期待されるレベル: ティア Standard
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.
期待されるレベル: ティア Legendary
実行履歴が 5 回あるので、次のセクションで実行を評価セットに変換できます。