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 |
getInput()
Get 输入文本。总长度不超过 1024 个 Token,超过则会截断最后面的内容。
|
String[] |
getInputList()
Get 输入文本数组。输入数组总长度不超过 50 。
|
void |
setInput(String Input)
Set 输入文本。总长度不超过 1024 个 Token,超过则会截断最后面的内容。
|
void |
setInputList(String[] InputList)
Set 输入文本数组。输入数组总长度不超过 50 。
|
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 getInput()
public void setInput(String Input)
Input
- 输入文本。总长度不超过 1024 个 Token,超过则会截断最后面的内容。public String[] getInputList()
public void setInputList(String[] InputList)
InputList
- 输入文本数组。输入数组总长度不超过 50 。Copyright © 2025. All rights reserved.