Class EmbeddingsModelConfig
java.lang.Object
com.sap.ai.sdk.orchestration.model.EmbeddingsModelConfig
EmbeddingsModelConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for EmbeddingsModelConfig. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newEmbeddingsModelConfiginstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theEmbeddingsModelConfig.getModel()Get modelinthashCode()model(EmbeddingsModelDetails model) Set the model of thisEmbeddingsModelConfiginstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisEmbeddingsModelConfiginstance.voidsetModel(EmbeddingsModelDetails model) Set the model of thisEmbeddingsModelConfiginstance.toMap()Get the value of all properties of thisEmbeddingsModelConfiginstance including unrecognized properties.toString()
-
Constructor Details
-
EmbeddingsModelConfig
protected EmbeddingsModelConfig()Default constructor for EmbeddingsModelConfig.
-
-
Method Details
-
model
Set the model of thisEmbeddingsModelConfiginstance and return the same instance.- Parameters:
model- The model of thisEmbeddingsModelConfig- Returns:
- The same instance of this
EmbeddingsModelConfigclass
-
getModel
Get model- Returns:
- model The model of this
EmbeddingsModelConfiginstance.
-
setModel
Set the model of thisEmbeddingsModelConfiginstance.- Parameters:
model- The model of thisEmbeddingsModelConfig
-
getCustomFieldNames
Get the names of the unrecognizable properties of theEmbeddingsModelConfig.- 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 thisEmbeddingsModelConfiginstance.- 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 thisEmbeddingsModelConfiginstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisEmbeddingsModelConfiginstance. 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 newEmbeddingsModelConfiginstance with all required arguments.
-
toMap()instead.