• Get AI metrics from a Vercel AI SDK text response (e.g., generateText). Supports both v4 and v5 token field names.

    Parameters

    • response: TextResponse

    Returns LDAIMetrics

Generated using TypeDoc