public class ModelInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModelInfo() |
ModelInfo(ModelInfo 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getAliasName()
Get Model name.
|
String |
getIcon()
Get Model icon.
|
Long |
getInputLenLimit()
Get Maximum characters input in the model dialog box.
|
Boolean |
getIsDefault()
Get Whether it is the default model.
|
Boolean |
getIsExclusive()
Get Whether it is an exclusive concurrency model.
|
Boolean |
getIsFree()
Get Whether it is free.
|
ModelParameter |
getMaxTokens()
Get Maximum quantity of tokens that can be generated.
|
String |
getModelCategory()
Get Model categories:
Generate: Generative model
Thought: Thinking model
|
String |
getModelDesc()
Get Model description.
|
String |
getModelName()
Get Model name.
|
String |
getPromptWordsLimit()
Get Character limit of prompt content.
|
Long |
getResourceStatus()
Get Resource status, 1: available; 2: exhausted.
|
Long |
getRoleLenLimit()
Get Maximum characters of role prompt words.
|
String |
getSource()
Get Model source, Hunyuan: Tencent Hunyuan; Industry: Tencent Cloud industry large model; Experience: new model experience.
|
Long |
getSupportAiCallStatus()
Get The model supports intelligent call effects.
|
Long |
getSupportWorkflowStatus()
Get Workflow support levels:
0 - Not supported by the model;
1 - Supported by the model;
2 - Poorly supported by the model.
|
ModelParameter |
getTemperature()
Get Temperature control randomness.
|
ModelParameter |
getTopP()
Get By controlling the diversity of content generation through core sampling, a higher Top P value will lead to more diverse content generation.
|
void |
setAliasName(String AliasName)
Set Model name.
|
void |
setIcon(String Icon)
Set Model icon.
|
void |
setInputLenLimit(Long InputLenLimit)
Set Maximum characters input in the model dialog box.
|
void |
setIsDefault(Boolean IsDefault)
Set Whether it is the default model.
|
void |
setIsExclusive(Boolean IsExclusive)
Set Whether it is an exclusive concurrency model.
|
void |
setIsFree(Boolean IsFree)
Set Whether it is free.
|
void |
setMaxTokens(ModelParameter MaxTokens)
Set Maximum quantity of tokens that can be generated.
|
void |
setModelCategory(String ModelCategory)
Set Model categories:
Generate: Generative model
Thought: Thinking model
|
void |
setModelDesc(String ModelDesc)
Set Model description.
|
void |
setModelName(String ModelName)
Set Model name.
|
void |
setPromptWordsLimit(String PromptWordsLimit)
Set Character limit of prompt content.
|
void |
setResourceStatus(Long ResourceStatus)
Set Resource status, 1: available; 2: exhausted.
|
void |
setRoleLenLimit(Long RoleLenLimit)
Set Maximum characters of role prompt words.
|
void |
setSource(String Source)
Set Model source, Hunyuan: Tencent Hunyuan; Industry: Tencent Cloud industry large model; Experience: new model experience.
|
void |
setSupportAiCallStatus(Long SupportAiCallStatus)
Set The model supports intelligent call effects.
|
void |
setSupportWorkflowStatus(Long SupportWorkflowStatus)
Set Workflow support levels:
0 - Not supported by the model;
1 - Supported by the model;
2 - Poorly supported by the model.
|
void |
setTemperature(ModelParameter Temperature)
Set Temperature control randomness.
|
void |
setTopP(ModelParameter TopP)
Set By controlling the diversity of content generation through core sampling, a higher Top P value will lead to more diverse content generation.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModelInfo()
public ModelInfo(ModelInfo source)
public String getModelName()
public void setModelName(String ModelName)
ModelName
- Model name.public String getModelDesc()
public void setModelDesc(String ModelDesc)
ModelDesc
- Model description.public String getAliasName()
public void setAliasName(String AliasName)
AliasName
- Model name.public Long getResourceStatus()
public void setResourceStatus(Long ResourceStatus)
ResourceStatus
- Resource status, 1: available; 2: exhausted.public String getPromptWordsLimit()
public void setPromptWordsLimit(String PromptWordsLimit)
PromptWordsLimit
- Character limit of prompt content.public ModelParameter getTopP()
public void setTopP(ModelParameter TopP)
TopP
- By controlling the diversity of content generation through core sampling, a higher Top P value will lead to more diverse content generation.public ModelParameter getTemperature()
public void setTemperature(ModelParameter Temperature)
Temperature
- Temperature control randomness.public ModelParameter getMaxTokens()
public void setMaxTokens(ModelParameter MaxTokens)
MaxTokens
- Maximum quantity of tokens that can be generated.public String getSource()
public void setSource(String Source)
Source
- Model source, Hunyuan: Tencent Hunyuan; Industry: Tencent Cloud industry large model; Experience: new model experience.public String getIcon()
public void setIcon(String Icon)
Icon
- Model icon.public Boolean getIsFree()
public void setIsFree(Boolean IsFree)
IsFree
- Whether it is free.public Long getInputLenLimit()
public void setInputLenLimit(Long InputLenLimit)
InputLenLimit
- Maximum characters input in the model dialog box.public Long getSupportWorkflowStatus()
public void setSupportWorkflowStatus(Long SupportWorkflowStatus)
SupportWorkflowStatus
- Workflow support levels:
0 - Not supported by the model;
1 - Supported by the model;
2 - Poorly supported by the model.public String getModelCategory()
public void setModelCategory(String ModelCategory)
ModelCategory
- Model categories:
Generate: Generative model
Thought: Thinking modelpublic Boolean getIsDefault()
public void setIsDefault(Boolean IsDefault)
IsDefault
- Whether it is the default model.public Long getRoleLenLimit()
public void setRoleLenLimit(Long RoleLenLimit)
RoleLenLimit
- Maximum characters of role prompt words.public Boolean getIsExclusive()
public void setIsExclusive(Boolean IsExclusive)
IsExclusive
- Whether it is an exclusive concurrency model.public Long getSupportAiCallStatus()
public void setSupportAiCallStatus(Long SupportAiCallStatus)
SupportAiCallStatus
- The model supports intelligent call effects.Copyright © 2025. All rights reserved.