For the complete documentation index, see llms.txt. This page is also available as Markdown.

Custom Analytics: Fields, Filters, and Aggregation

Custom analytics summarize selected fields from recorded activity. Choose fields and aggregations that match the question the chart should answer.

Before you begin

Access to analytics and recorded runs containing the fields to report.

Key concepts

Term
Definition

Metadata

Structured attributes associated with a source file or record. Consistent field names and types make filtering predictable.

Distinct count

A count of unique values within the metric’s defined scope. Daily distinct counts cannot generally be summed into a multi-day unique count.

Trace

Details of the steps taken during a run. Use it to locate the first unexpected input, output, or error.

Configuration options

Option
Purpose
Behavior

Aggregation

A calculation over selected records, such as a count, sum, or average.

Choose one that matches the field type and reporting question.

Filter

A condition that narrows the records eligible for an operation.

A filter can exclude relevant content before ranking occurs.

Configure an analytics chart

  1. Create a chart and select its source fields.

Review the reporting period and metrics before interpreting the results.

Review the reporting period and metrics before interpreting the results.

  1. Choose the aggregation, date range, and filters.

  2. Compare the chart with matching run records before using it in reporting.

The chart displays a meaningful summary of the selected records.

Behavior and limitations

An empty chart can mean no matching data, a missing field, or a restrictive filter. It does not prove there were no runs. Numeric aggregation requires suitable values. Changing a chart does not create missing historical fields. Check access scope when different users see different totals.

Inspect project analytics

Evaluation Datasets and Input Mapping

Was this helpful?