Skip to content

Prompt Management Create API #3779

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

Merged

fix jacocoTestCoverageVerification fail

cf6017c
Select commit
Loading
Failed to load commit list.
Merged

Prompt Management Create API #3779

fix jacocoTestCoverageVerification fail
cf6017c
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 10, 2025 in 0s

78.11% (+0.10%) compared to 15ed82d

View this Pull Request on Codecov

78.11% (+0.10%) compared to 15ed82d

Details

Codecov Report

Attention: Patch coverage is 90.25974% with 30 lines in your changes missing coverage. Please review.

Project coverage is 78.11%. Comparing base (15ed82d) to head (cf6017c).

Files with missing lines Patch % Lines
.../ml/action/prompt/TransportCreatePromptAction.java 74.07% 12 Missing and 2 partials ⚠️
...c/main/java/org/opensearch/ml/common/MLPrompt.java 93.06% 5 Missing and 2 partials ⚠️
...l/common/transport/prompt/MLCreatePromptInput.java 91.76% 0 Missing and 7 partials ⚠️
...opensearch/ml/engine/indices/MLIndicesHandler.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@                 Coverage Diff                  @@
##             feature/prompt    #3779      +/-   ##
====================================================
+ Coverage             78.00%   78.11%   +0.10%     
- Complexity             7320     7393      +73     
====================================================
  Files                   655      662       +7     
  Lines                 33037    33345     +308     
  Branches               3708     3738      +30     
====================================================
+ Hits                  25770    26046     +276     
- Misses                 5680     5700      +20     
- Partials               1587     1599      +12     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.