Skip to content

Commit 1f2824c

Browse files
Removing default model ID from ElasticsearchInternalService configuration (elastic#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]>
1 parent 8de9539 commit 1f2824c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/elasticsearch/ElasticsearchInternalService.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,8 +1147,9 @@ public static InferenceServiceConfiguration get() {
11471147

11481148
configurationMap.put(
11491149
MODEL_ID,
1150-
new SettingsConfiguration.Builder(supportedTaskTypes).setDefaultValue(MULTILINGUAL_E5_SMALL_MODEL_ID)
1151-
.setDescription("The name of the model to use for the inference task.")
1150+
new SettingsConfiguration.Builder(supportedTaskTypes).setDescription(
1151+
"The name of the model to use for the inference task."
1152+
)
11521153
.setLabel("Model ID")
11531154
.setRequired(true)
11541155
.setSensitive(false)

x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/elasticsearch/ElasticsearchInternalServiceTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1578,7 +1578,6 @@ public void testGetConfiguration() throws Exception {
15781578
"supported_task_types": ["text_embedding", "sparse_embedding", "rerank"]
15791579
},
15801580
"model_id": {
1581-
"default_value": ".multilingual-e5-small",
15821581
"description": "The name of the model to use for the inference task.",
15831582
"label": "Model ID",
15841583
"required": true,

0 commit comments

Comments
 (0)