Interface LDAIMetricSummary

Summary metrics returned in a ManagedResult or from LDAIConfigTracker.getSummary(). Provides a flat view of the key metrics for the completed operation.

Hierarchy

  • LDAIMetricSummary

Properties

durationMs?: number

Duration of the operation in milliseconds, if tracked.

feedback?: {
    kind: LDFeedbackKind;
}

User feedback sentiment for this generation, if provided.

Type declaration

resumptionToken?: string

Resumption token for deferred feedback association.

success?: boolean

Whether the AI operation was successful.

timeToFirstTokenMs?: number

Time to first token in milliseconds, if tracked.

tokens?: LDTokenUsage

Token usage information, if available.

toolCalls?: string[]

List of tool call identifiers made during the operation, if any.

Generated using TypeDoc