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

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 73.62%. Comparing base (8361900) to head (7ddcd8b).

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.14     #704      +/-   ##
============================================
- Coverage     73.74%   73.62%   -0.12%     
- Complexity      722      725       +3     
============================================
  Files            82       82              
  Lines          3668     3701      +33     
  Branches        315      319       +4     
============================================
+ Hits           2705     2725      +20     
- Misses          820      831      +11     
- Partials        143      145       +2     

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

@joshpalis joshpalis merged commit d94bc94 into 2.14 May 3, 2024
33 of 34 checks passed
@joshpalis joshpalis deleted the backport/backport-701-to-2.14 branch May 3, 2024 17:42
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