UiPath Documentation
getting-started
latest
false
スタート アップ ガイド - 開発者向け
  • 概要
    • 概要
  • UiPath Agents の利用を開始する
  • LangGraph を使用した UiPath Agents の利用を開始する
  • Studio Web でローコード エージェントを構築する
  • UiPath エージェントにツールを追加する
    • はじめに
    • API ワークフローを構築する
    • エージェントに接続する
    • エンドツーエンドでテストする
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

エンドツーエンドでテストする

ツールを使用するエージェントをエンドツーエンドで実行し、自律型 API 呼び出しを検証して、完全なエージェント パイプラインを確認します。

ツールを接続し、エージェント コントラクトを更新したら、パイプライン全体をテストする準備が整いました。

手順 5 - エンドツーエンドでテストする

To test the agent end-to-end, use the Debug button from the toolbar at the top of the agent builder. This opens up the Debug configuration dialog, then do the following:

  1. Open the Entrypoint arguments tab
  2. Enter a quest description from the code block below
  3. Then select Save & Debug to run it
The villagers report a massive creature has been destroying farms on the edge of the forest at night.
The villagers report a massive creature has been destroying farms on the edge of the forest at night.

After you click on Save & Debug, you can watch the Execution Trail at the bottom of the agent builder as it executes. The Execution Trail shows the agent's full decision process. For a tool-using agent, expect at least three events:

  1. The agent's initial analysis of the quest
  2. The tool call with the search term it chose
  3. The tool response with the candidate list

The agent then reasons over those candidates before producing its final output.

次の情報が表示されます。

  1. エージェントは、クエストに基づいて選択した検索語で モンスタークエリ を呼び出します。
  2. ツールは候補のリストを返します。
  3. エージェントは、最適な一致を選択し、5 つの出力フィールドを返します。

Select the HTTP Request - Open5e Monster Query span to see the request the tool actually sent: the v2/creatures/ URL, the search term the agent chose in name__icontains, and the document__key and fields values you configured in Step 1. The response below it carries the key identifier for each candidate.

Verify the output contains all five fields: monsterIndex, monsterName, monsterType, monsterCr, and monsterReasoning. monsterIndex is the API's key, so it carries the srd_ prefix - for example srd_giant-ape. The monsterReasoning field should explain why the agent chose this monster for the quest.


構築したもの

これで、UiPathfinder の最初のコンポーネントを構築しました。

  • Built a live API connector that searches the 5e SRD: one input, one HTTP request, one output.
  • Agent Builder で 1 つの選択で、エージェントをツールとしてエージェントに接続する。
  • エージェントは、いつツールを呼び出すか、何を検索するか、どの候補がクエストに最も適しているかを自律的に決定するようになりました。

2 段階の推論チェーン (検索語の選択と候補の評価) は、まさに意味のある評価シグナルを生み出す種類の軌道です。これが次のラボの内容です。

次の手順

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得