Skip to content

Commit

Permalink
Removing default model ID from ElasticsearchInternalService configura…
Browse files Browse the repository at this point in the history
…tion (#120818)

* Removing default model ID from ElasticsearchInternalService configuration

* Update docs/changelog/120818.yaml

* Delete docs/changelog/120818.yaml

---------

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
dan-rubinstein and elasticmachine authored Jan 27, 2025
1 parent 8de9539 commit 1f2824c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1147,8 +1147,9 @@ public static InferenceServiceConfiguration get() {

configurationMap.put(
MODEL_ID,
new SettingsConfiguration.Builder(supportedTaskTypes).setDefaultValue(MULTILINGUAL_E5_SMALL_MODEL_ID)
.setDescription("The name of the model to use for the inference task.")
new SettingsConfiguration.Builder(supportedTaskTypes).setDescription(
"The name of the model to use for the inference task."
)
.setLabel("Model ID")
.setRequired(true)
.setSensitive(false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,6 @@ public void testGetConfiguration() throws Exception {
"supported_task_types": ["text_embedding", "sparse_embedding", "rerank"]
},
"model_id": {
"default_value": ".multilingual-e5-small",
"description": "The name of the model to use for the inference task.",
"label": "Model ID",
"required": true,
Expand Down

0 comments on commit 1f2824c

Please sign in to comment.