java.lang.Object
org.elasticsearch.inference.Model
-
Constructor Summary
ConstructorsConstructorDescriptionModel(ModelConfigurations configurations) Model(ModelConfigurations configurations, ModelSecrets secrets) Model(Model model, ServiceSettings serviceSettings) Model(Model model, TaskSettings taskSettings) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdocumentId(String modelId) booleanReturns the model's non-sensitive configurations (e.g.Returns the model's sensitive configurations (e.g.Returns the inner sensitive data defined by a particular service.inthashCode()
-
Constructor Details
-
Model
-
Model
-
Model
-
Model
-
-
Method Details
-
documentId
-
getInferenceEntityId
-
getTaskType
-
getConfigurations
Returns the model's non-sensitive configurations (e.g. service name). -
getSecrets
Returns the model's sensitive configurations (e.g. api key). This returns an object that in json would look like:{ "secret_settings": { "api_key": "abc" } } -
getServiceSettings
-
getTaskSettings
-
getSecretSettings
Returns the inner sensitive data defined by a particular service. This returns an object that in json would look like:{ "api_key": "abc" } -
equals
-
hashCode
public int hashCode()
-