Skip to content

Commit

Permalink
Merge branch 'main' into prune
Browse files Browse the repository at this point in the history
  • Loading branch information
jdconrad committed Feb 21, 2025
2 parents 90fcd72 + af364a4 commit 326a474
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/changelog/123155.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 123155
summary: Add `ElasticInferenceServiceCompletionServiceSettings`
area: Machine Learning
type: bug
issues: []
2 changes: 1 addition & 1 deletion x-pack/plugin/apm-data/src/main/resources/resources.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# "version" holds the version of the templates and ingest pipelines installed
# by xpack-plugin apm-data. This must be increased whenever an existing template or
# pipeline is changed, in order for it to be updated on Elasticsearch upgrade.
version: 12
version: 13

component-templates:
# Data lifecycle.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
import org.elasticsearch.xpack.inference.services.cohere.rerank.CohereRerankServiceSettings;
import org.elasticsearch.xpack.inference.services.cohere.rerank.CohereRerankTaskSettings;
import org.elasticsearch.xpack.inference.services.elastic.ElasticInferenceServiceSparseEmbeddingsServiceSettings;
import org.elasticsearch.xpack.inference.services.elastic.completion.ElasticInferenceServiceCompletionServiceSettings;
import org.elasticsearch.xpack.inference.services.elasticsearch.CustomElandInternalServiceSettings;
import org.elasticsearch.xpack.inference.services.elasticsearch.CustomElandInternalTextEmbeddingServiceSettings;
import org.elasticsearch.xpack.inference.services.elasticsearch.ElasticRerankerServiceSettings;
Expand Down Expand Up @@ -654,5 +655,12 @@ private static void addEisNamedWriteables(List<NamedWriteableRegistry.Entry> nam
ElasticInferenceServiceSparseEmbeddingsServiceSettings::new
)
);
namedWriteables.add(
new NamedWriteableRegistry.Entry(
ServiceSettings.class,
ElasticInferenceServiceCompletionServiceSettings.NAME,
ElasticInferenceServiceCompletionServiceSettings::new
)
);
}
}

0 comments on commit 326a474

Please sign in to comment.