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] Add model interface support for remote and local custom models #703

Merged
merged 1 commit into from
May 3, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link

Backport 3318d31 from #701.

* Add model interface support for remote and local custom models

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

* Adding changelog and javadocs

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

* Addressing PR comments, adding to 2.14 release notes, updating MODEL_INTERFACE to INTERFACE_FIELD, adding parse util test

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

* updating RegisterRemoteModelStepTests

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

---------

Signed-off-by: Joshua Palis <[email protected]>
(cherry picked from commit 3318d31)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented May 3, 2024

Codecov Report

Attention: Patch coverage is 61.11111% with 14 lines in your changes are missing coverage. Please review.

Project coverage is 74.36%. Comparing base (5c17312) to head (1997676).

Files Patch % Lines
...ework/workflow/AbstractRegisterLocalModelStep.java 8.33% 10 Missing and 1 partial ⚠️
.../org/opensearch/flowframework/util/ParseUtils.java 77.77% 1 Missing and 1 partial ⚠️
...g/opensearch/flowframework/model/WorkflowNode.java 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x     #703      +/-   ##
============================================
- Coverage     74.56%   74.36%   -0.21%     
- Complexity      735      738       +3     
============================================
  Files            83       83              
  Lines          3708     3741      +33     
  Branches        318      322       +4     
============================================
+ Hits           2765     2782      +17     
- Misses          800      815      +15     
- Partials        143      144       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joshpalis joshpalis merged commit f875f85 into 2.x May 3, 2024
33 of 34 checks passed
@joshpalis joshpalis deleted the backport/backport-701-to-2.x branch May 3, 2024 17:39
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.

2 participants