CreateChatCompletionChunkResponse.Usage

CreateChatCompletionChunkResponse.Usage 属性

获取或设置一个可选字段,该字段仅在您在请求中设置 stream_options: {“include_usage”: true} 时存在。当存在时,它包含一个空值,除了最后一个块,它包含整个请求的令牌使用统计信息。

public Usage Usage { get; set; }

另请参见