-
Notifications
You must be signed in to change notification settings - Fork 25.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ML] Enable built-in Inference Endpoints and default for Semantic Text #116931
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pinging @elastic/ml-core (Team:ML) |
Pinging @elastic/es-search-relevance (Team:Search Relevance) |
Hi @davidkyle, I've created a changelog YAML for you. |
davidkyle
commented
Nov 18, 2024
Mikep86
approved these changes
Nov 18, 2024
💔 Backport failedThe backport operation could not be completed due to the following error:
You can use sqren/backport to manually backport by running |
davidkyle
added a commit
to davidkyle/elasticsearch
that referenced
this pull request
Nov 18, 2024
elastic#116931) Adds built-in inference endpoints for the ELSER (.elser-2-elasticsearch) and multilingual-e5-small models (.multilingual-e5-small-elasticsearch). The semantic text inference Id field now defaults to elser-2-elasticsearch # Conflicts: # test/test-clusters/src/main/java/org/elasticsearch/test/cluster/FeatureFlag.java # x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/InferenceFeatures.java
This was referenced Nov 20, 2024
alexey-ivanov-es
pushed a commit
to alexey-ivanov-es/elasticsearch
that referenced
this pull request
Nov 28, 2024
elastic#116931) Adds built-in inference endpoints for the ELSER (.elser-2-elasticsearch) and multilingual-e5-small models (.multilingual-e5-small-elasticsearch). The semantic text inference Id field now defaults to elser-2-elasticsearch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
auto-backport
Automatically create backport pull requests when merged
backport pending
>enhancement
:ml
Machine learning
:Search Relevance/Vectors
Vector search
Team:ML
Meta label for the ML team
Team:Search Relevance
Meta label for the Search Relevance team in Elasticsearch
v8.17.0
v9.0.0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds built-in inference endpoints for the ELSER (.elser-2-elasticsearch) and multilingual-e5-small models (.multilingual-e5-small-elasticsearch). These endpoints will always appear in the
GET _inference API
, the models are automatically downloaded and deployed on a call toPOST _inference
. The endpoint use adaptive allocations with scale to 0 enabled (min_number_of_allocations: 0
), after 15 minutes of inactivity the model deployment will scale down to 0 allocations at which point they use 0 resources and the node they are running on may scale down. Model deployments scale up again when the models are used. The built-in endpoints start with a.
prefix and are suffixed with the name of the service that hosts them, in this caseelasticsearch
.The Semantic Text field mapping defaults the
inference_id
option to the built-in ELSER inference endpoint. Indexing a document with a semantic text field mapping with trigger the download and deployment of the model.