Class EmbeddingsModelDetails
java.lang.Object
com.sap.ai.sdk.orchestration.model.EmbeddingsModelDetails
EmbeddingsModelDetails
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for EmbeddingsModelDetails. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newEmbeddingsModelDetailsinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theEmbeddingsModelDetails.Maximum number of retries for the Embeddings request.getName()Get nameGet paramsTimeout for the Embeddings request in seconds.Get versioninthashCode()maxRetries(Integer maxRetries) Set the maxRetries of thisEmbeddingsModelDetailsinstance and return the same instance.Set the name of thisEmbeddingsModelDetailsinstance and return the same instance.params(EmbeddingsModelParams params) Set the params of thisEmbeddingsModelDetailsinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisEmbeddingsModelDetailsinstance.voidsetMaxRetries(Integer maxRetries) Set the maxRetries of thisEmbeddingsModelDetailsinstance.voidSet the name of thisEmbeddingsModelDetailsinstance.voidsetParams(EmbeddingsModelParams params) Set the params of thisEmbeddingsModelDetailsinstance.voidsetTimeout(Integer timeout) Set the timeout of thisEmbeddingsModelDetailsinstance.voidsetVersion(String version) Set the version of thisEmbeddingsModelDetailsinstance.Set the timeout of thisEmbeddingsModelDetailsinstance and return the same instance.toMap()Get the value of all properties of thisEmbeddingsModelDetailsinstance including unrecognized properties.toString()Set the version of thisEmbeddingsModelDetailsinstance and return the same instance.
-
Constructor Details
-
EmbeddingsModelDetails
protected EmbeddingsModelDetails()Default constructor for EmbeddingsModelDetails.
-
-
Method Details
-
name
Set the name of thisEmbeddingsModelDetailsinstance and return the same instance.- Parameters:
name- The name of thisEmbeddingsModelDetails- Returns:
- The same instance of this
EmbeddingsModelDetailsclass
-
getName
Get name- Returns:
- name The name of this
EmbeddingsModelDetailsinstance.
-
setName
Set the name of thisEmbeddingsModelDetailsinstance.- Parameters:
name- The name of thisEmbeddingsModelDetails
-
version
Set the version of thisEmbeddingsModelDetailsinstance and return the same instance.- Parameters:
version- The version of thisEmbeddingsModelDetails- Returns:
- The same instance of this
EmbeddingsModelDetailsclass
-
getVersion
Get version- Returns:
- version The version of this
EmbeddingsModelDetailsinstance.
-
setVersion
Set the version of thisEmbeddingsModelDetailsinstance.- Parameters:
version- The version of thisEmbeddingsModelDetails
-
params
Set the params of thisEmbeddingsModelDetailsinstance and return the same instance.- Parameters:
params- The params of thisEmbeddingsModelDetails- Returns:
- The same instance of this
EmbeddingsModelDetailsclass
-
getParams
Get params- Returns:
- params The params of this
EmbeddingsModelDetailsinstance.
-
setParams
Set the params of thisEmbeddingsModelDetailsinstance.- Parameters:
params- The params of thisEmbeddingsModelDetails
-
timeout
Set the timeout of thisEmbeddingsModelDetailsinstance and return the same instance.- Parameters:
timeout- Timeout for the Embeddings request in seconds. This parameter is currently ignored for Vertex AI models. Minimum: 1 Maximum: 1200- Returns:
- The same instance of this
EmbeddingsModelDetailsclass
-
getTimeout
Timeout for the Embeddings request in seconds. This parameter is currently ignored for Vertex AI models. minimum: 1 maximum: 1200- Returns:
- timeout The timeout of this
EmbeddingsModelDetailsinstance.
-
setTimeout
Set the timeout of thisEmbeddingsModelDetailsinstance.- Parameters:
timeout- Timeout for the Embeddings request in seconds. This parameter is currently ignored for Vertex AI models. Minimum: 1 Maximum: 1200
-
maxRetries
Set the maxRetries of thisEmbeddingsModelDetailsinstance and return the same instance.- Parameters:
maxRetries- Maximum number of retries for the Embeddings request. This parameter is currently ignored for Vertex AI models. Minimum: 0 Maximum: 5- Returns:
- The same instance of this
EmbeddingsModelDetailsclass
-
getMaxRetries
Maximum number of retries for the Embeddings request. This parameter is currently ignored for Vertex AI models. minimum: 0 maximum: 5- Returns:
- maxRetries The maxRetries of this
EmbeddingsModelDetailsinstance.
-
setMaxRetries
Set the maxRetries of thisEmbeddingsModelDetailsinstance.- Parameters:
maxRetries- Maximum number of retries for the Embeddings request. This parameter is currently ignored for Vertex AI models. Minimum: 0 Maximum: 5
-
getCustomFieldNames
Get the names of the unrecognizable properties of theEmbeddingsModelDetails.- Returns:
- The set of properties names
-
getCustomField
@Nullable @Deprecated public Object getCustomField(@Nonnull String name) throws NoSuchElementException Deprecated.UsetoMap()instead.Get the value of an unrecognizable property of thisEmbeddingsModelDetailsinstance.- Parameters:
name- The name of the property- Returns:
- The value of the property
- Throws:
NoSuchElementException- If no property with the given name could be found.
-
toMap
Get the value of all properties of thisEmbeddingsModelDetailsinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisEmbeddingsModelDetailsinstance. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
customFieldName- The name of the propertycustomFieldValue- The value of the property
-
equals
-
hashCode
public int hashCode() -
toString
-
create
Create a type-safe, fluent-api builder object to construct a newEmbeddingsModelDetailsinstance with all required arguments.
-
toMap()instead.