| Package | Description |
|---|---|
| com.tencentcloudapi.tione.v20211111.models |
| Modifier and Type | Method and Description |
|---|---|
Usage |
ChatCompletionResponse.getUsage()
Get token统计
注意:此字段可能返回 null,表示取不到有效值。
|
| Modifier and Type | Method and Description |
|---|---|
void |
ChatCompletionResponse.setUsage(Usage Usage)
Set token统计
注意:此字段可能返回 null,表示取不到有效值。
|
| Constructor and Description |
|---|
Usage(Usage source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Copyright © 2024. All rights reserved.