Skip to content
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] add rerank to _inference #2479

Merged
merged 4 commits into from
Apr 3, 2024
Merged

[ML] add rerank to _inference #2479

merged 4 commits into from
Apr 3, 2024

Conversation

maxhniebergall
Copy link
Member

Specification additions for new rerank API in _inference: elastic/elasticsearch#106378.

Additionally, the completion TaskType was added as it was missed previously.

@maxhniebergall maxhniebergall enabled auto-merge (squash) April 3, 2024 14:55
Copy link
Contributor

github-actions bot commented Apr 3, 2024

Following you can find the validation results for the APIs you have changed.

API Status Request Response
inference.delete_model Missing test Missing test
inference.get_model 🟢 1/1 1/1
inference.inference Missing test Missing test
inference.put_model Missing test Missing test

You can validate these APIs yourself by using the make validate target.

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

* text: Optional, the text of the document, if requested
*/
export class RankedDocument {
id: string
Copy link
Member

Choose a reason for hiding this comment

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

I commented in elastic/elasticsearch#106378 that we might want to rename this field.

@maxhniebergall maxhniebergall merged commit f95a873 into main Apr 3, 2024
6 checks passed
@maxhniebergall maxhniebergall deleted the rerank branch April 3, 2024 17:08
@maxhniebergall maxhniebergall restored the rerank branch April 3, 2024 17:14
@maxhniebergall maxhniebergall deleted the rerank branch April 3, 2024 17:15
This was referenced Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants