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

[Backport 2.x] Separates RegisterModelStep into RegisterLocalModelStep and RegisterRemoteModelStep. Adds GetMLTaskStep. Handles optional params #161

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link

Backport 2142874 from #155.

…emoteModelStep. Adds GetMLTaskStep. Handles optional params (#155)

* added RegisterRemoteModelStep and tests

Signed-off-by: Joshua Palis <[email protected]>

* Adding RegisterLocalModelStep, fixing tests, adding input/ouput definitions to workflow step json

Signed-off-by: Joshua Palis <[email protected]>

* Fixing javadoc warnings, fixing log message

Signed-off-by: Joshua Palis <[email protected]>

* Addressing PR comments,making description field optional for RegisterRemoteModelStep and RegisterLocalModelStep

Signed-off-by: Joshua Palis <[email protected]>

* moving modelConfig builder before adding allConfig

Signed-off-by: Joshua Palis <[email protected]>

* handling optional description field for remote/local model

Signed-off-by: Joshua Palis <[email protected]>

* Removing poolingMode, modelMaxLenth, normalizeResult

Signed-off-by: Joshua Palis <[email protected]>

* adding modelType to required fields check

Signed-off-by: Joshua Palis <[email protected]>

* Fixing RegisterLocalModelStep to output a task ID instead of a model id

Signed-off-by: Joshua Palis <[email protected]>

* Adding GetMLTaskStep and tests

Signed-off-by: Joshua Palis <[email protected]>

* Adding todo for GetMLTask retry capability

Signed-off-by: Joshua Palis <[email protected]>

---------

Signed-off-by: Joshua Palis <[email protected]>
(cherry picked from commit 2142874)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@joshpalis joshpalis merged commit 4813fc0 into 2.x Nov 13, 2023
13 checks passed
@github-actions github-actions bot deleted the backport/backport-155-to-2.x branch November 13, 2023 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant