-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Add RerankRequestChunker #130485
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
base: main
Are you sure you want to change the base?
Add RerankRequestChunker #130485
Conversation
@elasticmachine merge upstream |
@@ -74,6 +74,7 @@ protected void doInference( | |||
InferenceService service, | |||
ActionListener<InferenceServiceResults> listener | |||
) { | |||
|
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.
This can be removed.
@@ -156,6 +156,7 @@ protected RankFeatureDoc[] preprocess(RankFeatureDoc[] originalDocs, boolean rer | |||
} | |||
|
|||
protected InferenceAction.Request generateRequest(List<String> docFeatures) { | |||
// TODO: Try running the RerankRequestChunker here. |
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.
This can be removed as we're calling this in the service now.
@elasticmachine merge upstream |
@elasticmachine merge upstream |
Issue - #121567
This is a POC for testing the proposed process. The issue above has some decisions that still need to be made in order to properly complete the implementation.
Questions remaining: