@nickyzj2023/utils
Preparing search index...
ai
ChatCompletions
Result
Type Alias Result
调用 chatCompletions 返回的结果,流式/非流式通用
type
Result
=
{
content
:
string
;
usage
:
Usage
;
[
key
:
string
]:
any
;
}
Indexable
[
key
:
string
]:
any
原始响应中的其他字段
Index
Properties
content
usage
Properties
content
content
:
string
模型的最终回复内容(多模态时取所有 text 拼接)
usage
usage
:
Usage
Token 消耗情况
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
content
usage
@nickyzj2023/utils
Loading...
调用 chatCompletions 返回的结果,流式/非流式通用