TracesEvalRunDataSource interface

A data source for evaluation runs over agent traces stored in Application Insights.

See create an evaluation dataset from traces.

Extends

Properties

agent_id

The agent ID used to filter traces for evaluation.

agent_name

The agent name used to filter traces for evaluation.

conversation_ids

Collection of conversation identifiers to filter traces by conversation.

end_time

Unix timestamp (in seconds) marking the end of the trace query window. Defaults to the current time.

ingestion_delay_seconds

The delay to apply for ingestion when querying traces.

lookback_hours

Lookback window (in hours) applied when retrieving traces from Application Insights. For scheduled evaluations this is inferred from the recurrence interval.

max_traces

Sampling limit applied to traces retrieved for evaluation.

trace_ids

Collection of Agent trace identifiers that should be evaluated.

type

The type of data source, always azure_ai_traces.

Property Details

agent_id

The agent ID used to filter traces for evaluation.

agent_id?: string

Property Value

string

agent_name

The agent name used to filter traces for evaluation.

agent_name?: string

Property Value

string

conversation_ids

Collection of conversation identifiers to filter traces by conversation.

conversation_ids?: string[]

Property Value

string[]

end_time

Unix timestamp (in seconds) marking the end of the trace query window. Defaults to the current time.

end_time?: Date

Property Value

Date

ingestion_delay_seconds

The delay to apply for ingestion when querying traces.

ingestion_delay_seconds?: number

Property Value

number

lookback_hours

Lookback window (in hours) applied when retrieving traces from Application Insights. For scheduled evaluations this is inferred from the recurrence interval.

lookback_hours?: number

Property Value

number

max_traces

Sampling limit applied to traces retrieved for evaluation.

max_traces?: number

Property Value

number

trace_ids

Collection of Agent trace identifiers that should be evaluated.

trace_ids?: string[]

Property Value

string[]

type

The type of data source, always azure_ai_traces.

type: "azure_ai_traces"

Property Value

"azure_ai_traces"