public class EmbeddingData extends AbstractModel
header, skipSign
Constructor and Description |
---|
EmbeddingData() |
EmbeddingData(EmbeddingData 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 |
---|---|
Float[] |
getEmbedding()
Get embedding 信息。
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getIndex()
Get 下标。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getObject()
Get embedding
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setEmbedding(Float[] Embedding)
Set embedding 信息。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setIndex(Long Index)
Set 下标。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setObject(String Object)
Set embedding
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public EmbeddingData()
public EmbeddingData(EmbeddingData source)
public Float[] getEmbedding()
public void setEmbedding(Float[] Embedding)
Embedding
- embedding 信息。
注意:此字段可能返回 null,表示取不到有效值。public Long getIndex()
public void setIndex(Long Index)
Index
- 下标。
注意:此字段可能返回 null,表示取不到有效值。public String getObject()
public void setObject(String Object)
Object
- embedding
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.