@nickyzj2023/utils
    Preparing search index...

    Type Alias Result

    调用 chatCompletions 返回的结果,流式/非流式通用

    type Result = {
        content: string;
        usage: Usage;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any

      原始响应中的其他字段

    Index

    Properties

    Properties

    content: string

    模型的最终回复内容(多模态时取所有 text 拼接)

    usage: Usage

    Token 消耗情况