Skip to content

Conversation

@DonalEvans
Copy link
Contributor

This commit allows ElasticInferenceServiceAuthorizationModel to handle proconfigured endpoints with the new embedding task type where previously an error would have been logged.

This commit allows ElasticInferenceServiceAuthorizationModel to handle
proconfigured endpoints with the new embedding task type where
previously an error would have been logged.
@DonalEvans DonalEvans added >enhancement Feature:GenAI Features around GenAI :SearchOrg/Inference Label for the Search Inference team Team:Search - Inference labels Feb 3, 2026
@DonalEvans DonalEvans changed the title Handle preconfigured endpoints with embedding task type [Inference API] Handle preconfigured endpoints with embedding task type Feb 3, 2026
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/search-inference-team (Team:Search - Inference)

Copy link
Contributor

@jonathan-buttner jonathan-buttner left a comment

Choose a reason for hiding this comment

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

Looks good, just one question about the EIS task type path.

nameDense,
idDenseMultimodal,
nameDenseMultimodal,
createTaskTypeObject(EIS_TEXT_EMBED_PATH, TaskType.EMBEDDING.toString()),
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we be using EIS_MULTIMODAL_EMBED_PATH instead of EIS_TEXT_EMBED_PATH?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, good catch. The test passes either way, but that's no reason not to be correct.

Copy link
Contributor

@jonathan-buttner jonathan-buttner left a comment

Choose a reason for hiding this comment

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

Actually, how about we add an embedding example to the auth response in this variable:

EIS_AUTHORIZATION_RESPONSE_V2.

That'll probably cause some test failures that'll need EMBEDDING added to an enum set.

@DonalEvans DonalEvans enabled auto-merge (squash) February 4, 2026 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants