Metrics information for AI operations that includes success status and token usage. This class combines success/failure tracking with token usage metrics.

Hierarchy

  • LDAIMetrics

Properties

Properties

success: boolean

Whether the AI operation was successful.

usage?: LDTokenUsage

Token usage information for the operation. This will be undefined if no token usage data is available.

Generated using TypeDoc