Chatoyant - v0.2.1
    Preparing search index...

    Interface GenerateResult

    Generation result with rich metadata.

    interface GenerateResult {
        content: string;
        usage: TokenUsage;
        timing: TimingInfo;
        cost: CostInfo;
        provider: ProviderId;
        model: string;
        cached: boolean;
    }
    Index

    Properties

    content: string

    Generated content

    usage: TokenUsage

    Detailed token usage breakdown

    timing: TimingInfo

    Timing information

    cost: CostInfo

    Cost information

    provider: ProviderId

    Provider used

    model: string

    Model used

    cached: boolean

    Whether response used cached tokens