Adding default endpoint for Elastic Rerank#117939
Merged
ymao1 merged 9 commits intoelastic:mainfrom Dec 6, 2024
Merged
Conversation
ymao1
commented
Dec 3, 2024
...a/org/elasticsearch/xpack/inference/services/elasticsearch/ElasticsearchInternalService.java
Show resolved
Hide resolved
ymao1
commented
Dec 3, 2024
...a/org/elasticsearch/xpack/inference/services/elasticsearch/ElasticsearchInternalService.java
Outdated
Show resolved
Hide resolved
ymao1
commented
Dec 3, 2024
...a/org/elasticsearch/xpack/inference/services/elasticsearch/ElasticsearchInternalService.java
Outdated
Show resolved
Hide resolved
davidkyle
reviewed
Dec 4, 2024
Member
davidkyle
left a comment
There was a problem hiding this comment.
Looks good.
I made a suggestion but if you want to do that in another PR that is fine
...a/org/elasticsearch/xpack/inference/services/elasticsearch/ElasticsearchInternalService.java
Show resolved
Hide resolved
...ervice-tests/src/javaRestTest/java/org/elasticsearch/xpack/inference/DefaultEndPointsIT.java
Show resolved
Hide resolved
| chunkingSettings | ||
| ); | ||
| } else if (modelId.equals(RERANKER_ID)) { | ||
| return new ElasticRerankerModel( |
...a/org/elasticsearch/xpack/inference/services/elasticsearch/ElasticsearchInternalService.java
Outdated
Show resolved
Hide resolved
Collaborator
|
Pinging @elastic/ml-core (Team:ML) |
Collaborator
|
Hi @ymao1, I've created a changelog YAML for you. |
…o default-reranker
Member
|
ping @szabosteve |
Collaborator
💚 Backport successful
|
ymao1
added a commit
to ymao1/elasticsearch
that referenced
this pull request
Dec 6, 2024
* Adding default endpoint for Elastic Rerank * CustomElandRerankTaskSettings -> RerankTaskSettings * Update docs/changelog/117939.yaml
elasticsearchmachine
pushed a commit
that referenced
this pull request
Dec 6, 2024
davidkyle
added a commit
to davidkyle/elasticsearch
that referenced
this pull request
Dec 8, 2024
This reverts commit 54c320e. # Conflicts: # x-pack/plugin/inference/qa/inference-service-tests/src/javaRestTest/java/org/elasticsearch/xpack/inference/InferenceBaseRestTest.java
davidkyle
added a commit
that referenced
this pull request
Dec 9, 2024
davidkyle
added a commit
to davidkyle/elasticsearch
that referenced
this pull request
Dec 9, 2024
…17939)" (elastic#118221)" This reverts commit 638e5b6.
davidkyle
added a commit
that referenced
this pull request
Dec 11, 2024
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Resolves https://github.com/elastic/ml-team/issues/1404
Summary
Adds default endpoint for Elastic Rerank model. To verify, run locally and then access
The response should include the new default endpoint for the rerank model
Then use the endpoint
The first time you call this API, it should download the model.