Using Metrics
System Metrics
By default, all calls made by a Line Agent have a set of system metrics automatically calculated to help evaluate performance.LLM as a Judge
An LLM-as-a-Judge metric is created in the playground by setting a name and specifying a prompt. You can try out different prompts in the playground against existing call transcripts by copying a call id into the metric creation field and clicking evaluate to generate a sample output.Create a Custom Metric Demo
Assigning Metrics
Once a metric is created, it can be assigned to an Agent via the playground from the Agent page. All subsequent calls made to or from that Agent will have metric results calculated and available to view in the console and API. Note that when you assign a metric to an existing Agent, it won’t be automatically run on previous calls.