Skip to content

Prompt Management GET API #3846

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

Open
wants to merge 5 commits into
base: feature/prompt
Choose a base branch
from

Conversation

rcho93
Copy link

@rcho93 rcho93 commented May 13, 2025

Description

Implements an API to retrieve a prompt

Related Issues

Resolves #3711

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.

rcho93 added 5 commits May 12, 2025 17:23
Signed-off-by: seungwon cho <rycho@amazon.com>
Signed-off-by: seungwon cho <rycho@amazon.com>
Signed-off-by: seungwon cho <rycho@amazon.com>
Signed-off-by: seungwon cho <rycho@amazon.com>
Signed-off-by: seungwon cho <rycho@amazon.com>
@rcho93 rcho93 temporarily deployed to ml-commons-cicd-env-require-approval May 13, 2025 22:17 — with GitHub Actions Inactive
@rcho93 rcho93 temporarily deployed to ml-commons-cicd-env-require-approval May 13, 2025 22:17 — with GitHub Actions Inactive
@rcho93 rcho93 temporarily deployed to ml-commons-cicd-env-require-approval May 13, 2025 22:17 — with GitHub Actions Inactive
@rcho93 rcho93 temporarily deployed to ml-commons-cicd-env-require-approval May 13, 2025 22:17 — with GitHub Actions Inactive
@rcho93 rcho93 temporarily deployed to ml-commons-cicd-env-require-approval May 14, 2025 00:17 — with GitHub Actions Inactive
@rcho93 rcho93 temporarily deployed to ml-commons-cicd-env-require-approval May 14, 2025 00:17 — with GitHub Actions Inactive
Copy link

codecov bot commented May 14, 2025

Codecov Report

Attention: Patch coverage is 98.36066% with 2 lines in your changes missing coverage. Please review.

Project coverage is 78.22%. Comparing base (9351e2e) to head (6e1538a).

Files with missing lines Patch % Lines
...java/org/opensearch/ml/prompt/MLPromptManager.java 94.11% 2 Missing ⚠️
Additional details and impacted files
@@                 Coverage Diff                  @@
##             feature/prompt    #3846      +/-   ##
====================================================
+ Coverage             78.15%   78.22%   +0.06%     
- Complexity             7399     7435      +36     
====================================================
  Files                   662      668       +6     
  Lines                 33345    33458     +113     
  Branches               3738     3738              
====================================================
+ Hits                  26060    26171     +111     
- Misses                 5689     5691       +2     
  Partials               1596     1596              
Flag Coverage Δ
ml-commons 78.22% <98.36%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

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