UiPath Documentation
getting-started
latest
false
Guia de introdução do desenvolvedor
  • Visão geral
    • Visão geral
  • Introdução aos agentes da UiPath
  • Introdução aos agentes da UiPath usando o LangGraph
  • Construção de um agente de pouco código no Studio Web
  • Adicionando ferramentas ao seu agente UiPath
    • Introdução
    • Crie o fluxo de trabalho da API
    • Conecte-se ao seu agente
    • Testar de ponta a ponta
Importante :
Este conteúdo foi traduzido com auxílio de tradução automática. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Testar de ponta a ponta

Execute o agente que usa a ferramenta de ponta a ponta, verifique as chamadas de API autônomas e confirme o pipeline completo do agente.

Com a ferramenta conectada e o contrato do agente atualizado, você está pronto para testar o pipeline completo.

Etapa 5 - Teste de ponta a ponta

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.

Você deve ver:

  1. O agente chama a Consulta Mon mais com um termo de pesquisa que escolheu com base na busca.
  2. A ferramenta retorna uma lista de candidatos.
  3. O agente seleciona a melhor correspondência e retorna os cinco campos de saída.

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.


O que você construiu

Você criou o primeiro componente do UiPath Finder:

  • Built a live API connector that searches the 5e SRD: one input, one HTTP request, one output.
  • Conectou-o ao seu agente como uma ferramenta com uma única seleção no Agent Builder.
  • O agente agora decide de forma autônoma quando chamar a ferramenta, o que pesquisar e qual candidato se encaixa melhor na busca.

A cadeia de raciocínio em duas etapas (seleção do termo de pesquisa e avaliação de candidatos) é exatamente o tipo de trajetória que produz um sinal de avaliação significativo; é disso que se trata o próximo laboratório.

O que vem em seguida

  • Etapa 5 - Teste de ponta a ponta
  • O que você construiu
  • O que vem em seguida

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades