Skip to content

Conversation

chishui
Copy link
Collaborator

@chishui chishui commented Aug 21, 2025

Description

We keep adding new retryableInferenceXX functions into MLCommonsClientAccessor class, and they share a very similar implementation. (#1520)

This change is to refactor the code and create a single generic function retryableInference and callers still have the flexibility to define how they construct MLInput and parse MLOutput.

Related Issues

N/A

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@chishui
Copy link
Collaborator Author

chishui commented Sep 2, 2025

@yuye-aws @heemin32 @junqiu-lei any comments for this PR?

@yuye-aws yuye-aws merged commit 44d8706 into opensearch-project:main Sep 5, 2025
58 checks passed
@chishui chishui deleted the refactor-retryableinference branch September 8, 2025 03:08
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.

3 participants