-
Notifications
You must be signed in to change notification settings - Fork 25.2k
[Inference API] Add special case to inference API #116962
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
Conversation
Pinging @elastic/ml-core (Team:ML) |
Hi @maxhniebergall, I've created a changelog YAML for you. |
...org/elasticsearch/xpack/inference/services/elasticsearch/ElasticRerankerServiceSettings.java
Outdated
Show resolved
Hide resolved
docs/changelog/116962.yaml
Outdated
@@ -0,0 +1,5 @@ | |||
pr: 116962 | |||
summary: "[Inference API] Add special case for elastic reranker in inference API" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe omit the [...]
part
...org/elasticsearch/xpack/inference/services/elasticsearch/ElasticRerankerServiceSettings.java
Show resolved
Hide resolved
* @param map Source map containing the config | ||
* @return The builder | ||
*/ | ||
public static Builder fromRequestMap(Map<String, Object> map) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I'm fine with keep it since it's the pattern we have, but I don't believe we use this method yet right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point, we could remove this. I'm ambiguous about it. We could remove some of the constructors as well. I'm leaning towards just leaving them in.
@elastimachine merge upstream |
@elasticmachine merge upstream |
* Add reranker special case to inference API * Update docs/changelog/116962.yaml * Update 116962.yaml * spotless * improvements from review * Fix typo
* Add reranker special case to inference API * Update docs/changelog/116962.yaml * Update 116962.yaml * spotless * improvements from review * Fix typo
* Add reranker special case to inference API * Update docs/changelog/116962.yaml * Update 116962.yaml * spotless * improvements from review * Fix typo
Adds support for the reranker in the inference API