- Introduction
- Commencer avec les agents UiPath
- Premiers pas avec les agents UiPath utilisant LangGraph
- Créer un agent low-code dans Studio Web
- Introduction
- Créer l'agent
- Testez l'agent
- Évaluer l'agent
- Ajouter des outils à votre agent UiPath
- Premiers pas avec le canevas Flux dans UiPath Maestro
Testez l'agent
Exécutez le classifieur de requêtes dans le débogueur de Studio Web sur cinq exemples de requêtes et vérifiez le niveau et le raisonnement qu'il renvoie.
Une fois l'agent configuré, vous pouvez le tester par rapport à des descriptions de requête réelles.
Étape 4 - Tester l'agent
Sélectionnez Debug dans la barre d'outils supérieure. Cela ouvre la boîte de dialogue Configuration du débogage , dans laquelle vous pouvez exécuter l'agent avec un exemple d'entrée.
- Dans l'onglet Arguments du point d'entrée , collez la requête suivante dans le champ
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.
-
Sélectionnez Enregistrer et Debug pour exécuter l'agent.
-
Sélectionnez Piste d'exécution en bas du canevas Studio Web.
-
Dans le panneau Traçage d’exécution , sélectionnez Exécution d’agent - Agent, ce qui affiche l’ entrée et la sortie de l’exécution.
-
Développez le texte
reasoningpour afficher la chaîne dans son intégralité. -
Examinez les
tieretreasoningrenvoyés par l’agent.
L'agent doit renvoyer une tier de Trivial avec deux phrases de raisonnement.
Les agents sont non déterministes. Le texte de raisonnement varie entre les exécutions, vérifiez donc le bon niveau et un raisonnement sensible au lieu d'un libellé spécifique.
Exécutez désormais l’agent sur une menace beaucoup plus importante:
Slay the ancient red dragon terrorizing the countryside.
Slay the ancient red dragon terrorizing the countryside.
Niveau attendu: niveau Legendary.
Lisez le raisonnement de cette exécution. Cela indique très probablement que le robot est dangereux, car les robots sont dangereux. Rien dans la réponse n'est vérifié par rapport aux données réelles: la classification provient entièrement de l'entraînement du modèle. Le libellé Ajouter des outils à votre agent UiPath permet à l'agent d'effectuer une recherche en direct par rapport au SRS 5e, afin que son raisonnement puisse compter des données réelles.
Exécuter trois requêtes supplémentaires
Exécutez chacune des requêtes suivantes de la même manière. Vous utiliserez les cinq exécutions dans la section suivante. Laissez donc chacune se terminer avant de commencer la suivante.
Deliver a sealed letter to the magistrate in the next town.
Deliver a sealed letter to the magistrate in the next town.
Niveau attendu: niveau Trivial.
Escort a merchant caravan through the hill country to the coast.
Escort a merchant caravan through the hill country to the coast.
Niveau attendu: niveau 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.
Niveau attendu: niveau Heroic ou Standard. Cette question est délibérément difficile à appeler, et l’une ou l’autre réponse est invalide.
Si une exécution renvoie un niveau avec lequel vous n'êtes pas d'accord, réexécutez-la ou ajustez l'invite système avant de continuer. La section suivante traite la sortie de chaque exécution comme la réponse correcte.
Plus de requêtes à essayer (facultatif)
Il s'agit d'une pratique supplémentaire et ne font pas partie de l'ensemble d'évaluation dans la section suivante. Si vous les exécutez, laissez-les de côté lorsque vous ajoutez des exécutions à partir de l’historique.
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.
Niveau attendu: niveau 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.
Niveau attendu: niveau 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.
Niveau attendu: niveau Legendary.
Avec cinq exécutions dans votre historique, vous pouvez les transformer en ensemble d'évaluation dans la section suivante.