Skip to content

Conversation

jonathan-buttner
Copy link
Contributor

This PR adds the internal InputType values to the translation logic for EIS.

I'm backporting this because the internal values were added in 8.19 and 9.1 from this PR: #122638

@jonathan-buttner jonathan-buttner added >non-issue :ml Machine learning Team:ML Meta label for the ML team v9.2.0 v9.1.3 v8.19.3 labels Aug 13, 2025
@jonathan-buttner jonathan-buttner marked this pull request as ready for review August 13, 2025 17:09
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

Copy link
Member

@davidkyle davidkyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

The INTERNAL enums are very trappy. The reason they exist is to allow ingest and search operations in Elasticsearch that use the inference API to specify the intended use without having to know if the service supports the distinction between ingest and search.

Some services do not distinguish between ingest and search and we don't want them throwing a validation error saying I don't do search/ingest embeddings.

@jonathan-buttner jonathan-buttner merged commit 1f9b6bb into elastic:main Aug 15, 2025
33 checks passed
javanna pushed a commit to javanna/elasticsearch that referenced this pull request Aug 18, 2025
@jonathan-buttner
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.1
9.0
8.19

Questions ?

Please refer to the Backport tool documentation

jonathan-buttner added a commit to jonathan-buttner/elasticsearch that referenced this pull request Aug 19, 2025
jonathan-buttner added a commit to jonathan-buttner/elasticsearch that referenced this pull request Aug 19, 2025
elasticsearchmachine pushed a commit that referenced this pull request Aug 19, 2025
elasticsearchmachine pushed a commit that referenced this pull request Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:ml Machine learning >non-issue Team:ML Meta label for the ML team v8.19.3 v9.1.3 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants