public class GetEmbeddingRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
GetEmbeddingRequest() |
GetEmbeddingRequest(GetEmbeddingRequest 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[] |
getInputs()
Get 需要 embedding 的文本, 单条文本最大长度500个字符, 总条数最大7条
|
String |
getModel()
Get 模型名称
|
Boolean |
getOnline()
Get 是否在线, 后台异步任务使用离线, 实时任务使用在线, 默认值: false
|
void |
setInputs(String[] Inputs)
Set 需要 embedding 的文本, 单条文本最大长度500个字符, 总条数最大7条
|
void |
setModel(String Model)
Set 模型名称
|
void |
setOnline(Boolean Online)
Set 是否在线, 后台异步任务使用离线, 实时任务使用在线, 默认值: false
|
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 GetEmbeddingRequest()
public GetEmbeddingRequest(GetEmbeddingRequest source)
public String getModel()
public void setModel(String Model)
Model
- 模型名称public String[] getInputs()
public void setInputs(String[] Inputs)
Inputs
- 需要 embedding 的文本, 单条文本最大长度500个字符, 总条数最大7条public Boolean getOnline()
public void setOnline(Boolean Online)
Online
- 是否在线, 后台异步任务使用离线, 实时任务使用在线, 默认值: falseCopyright © 2024. All rights reserved.