Langfuse JS/TS SDKs
    Preparing search index...

    Interface OpenAiUsage

    Usage interface of OpenAI for improved compatibility.

    interface OpenAiUsage {
        completionTokens?: number;
        promptTokens?: number;
        totalTokens?: number;
    }
    Index

    Properties

    completionTokens?: number
    promptTokens?: number
    totalTokens?: number