public class AppModel extends AbstractModel
header, skipSign
Constructor and Description |
---|
AppModel() |
AppModel(AppModel 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 alias.
|
Long |
getContextLimit()
Get The round referenced by the context.
|
String |
getDesc()
Get Model description.
|
Long |
getHistoryLimit()
Get The number of context memory rounds.
|
Boolean |
getIsUseContext()
Get Whether to use the round referenced by the context.
|
String |
getName()
Get Model name.
|
Long |
getResourceStatus()
Get Model resource status: 1: available; 2: exhausted.
|
String |
getTemperature()
Get Model temperature.
|
Float |
getTokenBalance()
Get Remaining token quota.
|
String |
getTopP()
Get Model TopP.
|
String |
getUsageType()
Get Usage type.
|
void |
setAliasName(String AliasName)
Set Model alias.
|
void |
setContextLimit(Long ContextLimit)
Set The round referenced by the context.
|
void |
setDesc(String Desc)
Set Model description.
|
void |
setHistoryLimit(Long HistoryLimit)
Set The number of context memory rounds.
|
void |
setIsUseContext(Boolean IsUseContext)
Set Whether to use the round referenced by the context.
|
void |
setName(String Name)
Set Model name.
|
void |
setResourceStatus(Long ResourceStatus)
Set Model resource status: 1: available; 2: exhausted.
|
void |
setTemperature(String Temperature)
Set Model temperature.
|
void |
setTokenBalance(Float TokenBalance)
Set Remaining token quota.
|
void |
setTopP(String TopP)
Set Model TopP.
|
void |
setUsageType(String UsageType)
Set Usage type.
|
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 AppModel()
public AppModel(AppModel source)
public String getName()
public void setName(String Name)
Name
- Model name.public String getDesc()
public void setDesc(String Desc)
Desc
- Model description.public Long getContextLimit()
public void setContextLimit(Long ContextLimit)
ContextLimit
- The round referenced by the context.public String getAliasName()
public void setAliasName(String AliasName)
AliasName
- Model alias.public Float getTokenBalance()
public void setTokenBalance(Float TokenBalance)
TokenBalance
- Remaining token quota.public Boolean getIsUseContext()
public void setIsUseContext(Boolean IsUseContext)
IsUseContext
- Whether to use the round referenced by the context.public Long getHistoryLimit()
public void setHistoryLimit(Long HistoryLimit)
HistoryLimit
- The number of context memory rounds.public String getUsageType()
public void setUsageType(String UsageType)
UsageType
- Usage type.public String getTemperature()
public void setTemperature(String Temperature)
Temperature
- Model temperature.public String getTopP()
public void setTopP(String TopP)
TopP
- Model TopP.public Long getResourceStatus()
public void setResourceStatus(Long ResourceStatus)
ResourceStatus
- Model resource status: 1: available; 2: exhausted.Copyright © 2025. All rights reserved.