Package | Description |
---|---|
com.tencentcloudapi.lke.v20231130.models |
Modifier and Type | Method and Description |
---|---|
ModelParameter |
ModelInfo.getMaxTokens()
Get 最多能生成的token数量
注意:此字段可能返回 null,表示取不到有效值。
|
ModelParameter |
ModelInfo.getTemperature()
Get 温度控制随机性
注意:此字段可能返回 null,表示取不到有效值。
|
ModelParameter |
ModelInfo.getTopP()
Get 通过核心采样控制内容生成的多样性,较高的Top P值会导致生成更多样的内容
注意:此字段可能返回 null,表示取不到有效值。
|
Modifier and Type | Method and Description |
---|---|
void |
ModelInfo.setMaxTokens(ModelParameter MaxTokens)
Set 最多能生成的token数量
注意:此字段可能返回 null,表示取不到有效值。
|
void |
ModelInfo.setTemperature(ModelParameter Temperature)
Set 温度控制随机性
注意:此字段可能返回 null,表示取不到有效值。
|
void |
ModelInfo.setTopP(ModelParameter TopP)
Set 通过核心采样控制内容生成的多样性,较高的Top P值会导致生成更多样的内容
注意:此字段可能返回 null,表示取不到有效值。
|
Constructor and Description |
---|
ModelParameter(ModelParameter 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 © 2025. All rights reserved.