Skip to main content

Agentex Output

Use the agentex_output task type to generate outputs from an external Agentex agent for each item in your evaluation.

Example Usage

The following illustrates a complete example in which an Agentex agent is used to generate responses for each evaluation item.
For Azure workspace deployments, use the /api path suffix in the base URL:

Output Structure

The task produces the following output for each evaluation item: Successful response:
Error response:

Combining with Other Tasks

Agentex outputs are generated before other evaluation tasks run. This allows you to chain the agent output with other tasks like auto evaluations or contributor evaluations.