Skip to main content
Use this tutorial when your evaluator depends on the available tools, the chat history, and the assistant action or response. This is the standard pattern for agentic tool-use evaluators.

Dataset schema

Required columns:
  • tools: the available tool definitions or tool context
  • input: the chat history or user context
  • output: the assistant action or response
  • label: the ground-truth class for the evaluator

Config shape

Set:
  • data_generation.metric.input_format: "span_with_tools"
  • data_generation.source_data.dataset.columns.features: ["tools", "input", "output"]
  • generation.context_examples: 1

Minimal end-to-end config