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

Add request level parameters for system_prompt and user_instructions. #2236

Merged

Conversation

austintlee
Copy link
Collaborator

Description

Add request level parameters for system_prompt and user_instructions.

Issues Resolved

#2214

Check List

  • [ x] New functionality includes testing.
    • [x ] All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

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.

@austintlee austintlee had a problem deploying to ml-commons-cicd-env March 19, 2024 22:33 — with GitHub Actions Failure
@austintlee austintlee had a problem deploying to ml-commons-cicd-env March 19, 2024 22:34 — with GitHub Actions Failure
@austintlee austintlee had a problem deploying to ml-commons-cicd-env March 19, 2024 23:23 — with GitHub Actions Failure
@austintlee austintlee had a problem deploying to ml-commons-cicd-env March 19, 2024 23:23 — with GitHub Actions Failure
@austintlee austintlee had a problem deploying to ml-commons-cicd-env March 19, 2024 23:30 — with GitHub Actions Failure
@austintlee austintlee had a problem deploying to ml-commons-cicd-env March 19, 2024 23:30 — with GitHub Actions Failure
@austintlee austintlee had a problem deploying to ml-commons-cicd-env March 20, 2024 00:19 — with GitHub Actions Failure
@austintlee
Copy link
Collaborator Author

Tests with failures:
 - org.opensearch.ml.rest.SecureMLRestIT.testTrainModelWithFullAccessThenPredict
 - org.opensearch.ml.rest.SecureMLRestIT.testPredictWithReadOnlyMLAccess

Not related to my change.

@austintlee
Copy link
Collaborator Author

@dhrubo-os @ylwu-amzn Any chance this can get into 2.13?

@austintlee austintlee force-pushed the custom-prompts-main-2 branch from c193dbe to a066434 Compare March 20, 2024 17:09
@austintlee austintlee requested a review from xinyual as a code owner March 20, 2024 17:09
@austintlee austintlee temporarily deployed to ml-commons-cicd-env March 20, 2024 17:09 — with GitHub Actions Inactive
@austintlee austintlee temporarily deployed to ml-commons-cicd-env March 20, 2024 17:09 — with GitHub Actions Inactive
@austintlee austintlee temporarily deployed to ml-commons-cicd-env March 20, 2024 17:09 — with GitHub Actions Inactive
@austintlee austintlee temporarily deployed to ml-commons-cicd-env March 20, 2024 17:09 — with GitHub Actions Inactive
@austintlee austintlee temporarily deployed to ml-commons-cicd-env March 20, 2024 17:09 — with GitHub Actions Inactive
@austintlee austintlee temporarily deployed to ml-commons-cicd-env March 20, 2024 17:09 — with GitHub Actions Inactive
@austintlee
Copy link
Collaborator Author

@dhrubo-os @HenryL27

@austintlee austintlee merged commit 80c9908 into opensearch-project:main Mar 20, 2024
13 of 16 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 20, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 20, 2024
dhrubo-os pushed a commit that referenced this pull request Mar 20, 2024
…#2236) (#2250)

Signed-off-by: Austin Lee <[email protected]>
(cherry picked from commit 80c9908)

Co-authored-by: Austin Lee <[email protected]>
dhrubo-os pushed a commit that referenced this pull request Mar 20, 2024
…#2236) (#2251)

Signed-off-by: Austin Lee <[email protected]>
(cherry picked from commit 80c9908)

Co-authored-by: Austin Lee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants