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 support for Bedrock Converse API (Anthropic Messages API, Claude … #2913

Merged

Conversation

austintlee
Copy link
Collaborator

…3.5 Sonnet) (#2851)

  • Add support for Anthropic Message API (Issue 2826)

Signed-off-by: Austin Lee austin@aryn.ai

  • Fix a bug.

Signed-off-by: Austin Lee austin@aryn.ai

  • Add unit tests, improve coverage, clean up code.

Signed-off-by: Austin Lee austin@aryn.ai

  • Allow pdf and jpg files for IT tests for multimodel conversation API testing.

Signed-off-by: Austin Lee austin@aryn.ai

  • Fix spotless check issues.

Signed-off-by: Austin Lee austin@aryn.ai

  • Update IT to work with session tokens.

Signed-off-by: Austin Lee austin@aryn.ai

  • Fix MLRAGSearchProcessorIT not to extend RestMLRemoteInferenceIT.

Signed-off-by: Austin Lee austin@aryn.ai

  • Use suite specific model group name.

Signed-off-by: Austin Lee austin@aryn.ai

  • Disable tests that require futher investigation.

Signed-off-by: Austin Lee austin@aryn.ai

  • Skip two additional tests with time-outs.

Signed-off-by: Austin Lee austin@aryn.ai

  • Restore a change from RestMLRemoteInferenceIT.

Signed-off-by: Austin Lee austin@aryn.ai


Signed-off-by: Austin Lee austin@aryn.ai
(cherry picked from commit 17e81ae)

Description

[Describe what this change achieves]

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

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.

…3.5 Sonnet) (opensearch-project#2851)

* Add support for Anthropic Message API (Issue 2826)

Signed-off-by: Austin Lee <austin@aryn.ai>

* Fix a bug.

Signed-off-by: Austin Lee <austin@aryn.ai>

* Add unit tests, improve coverage, clean up code.

Signed-off-by: Austin Lee <austin@aryn.ai>

* Allow pdf and jpg files for IT tests for multimodel conversation API testing.

Signed-off-by: Austin Lee <austin@aryn.ai>

* Fix spotless check issues.

Signed-off-by: Austin Lee <austin@aryn.ai>

* Update IT to work with session tokens.

Signed-off-by: Austin Lee <austin@aryn.ai>

* Fix MLRAGSearchProcessorIT not to extend RestMLRemoteInferenceIT.

Signed-off-by: Austin Lee <austin@aryn.ai>

* Use suite specific model group name.

Signed-off-by: Austin Lee <austin@aryn.ai>

* Disable tests that require futher investigation.

Signed-off-by: Austin Lee <austin@aryn.ai>

* Skip two additional tests with time-outs.

Signed-off-by: Austin Lee <austin@aryn.ai>

* Restore a change from RestMLRemoteInferenceIT.

Signed-off-by: Austin Lee <austin@aryn.ai>

---------

Signed-off-by: Austin Lee <austin@aryn.ai>
(cherry picked from commit 17e81ae)
@austintlee
Copy link
Collaborator Author

Can we merge this?

@jngz-es jngz-es merged commit ed37690 into opensearch-project:2.17 Sep 9, 2024
12 of 15 checks passed
Zhangxunmt added a commit to Zhangxunmt/ml-commons that referenced this pull request Sep 10, 2024
Zhangxunmt added a commit that referenced this pull request Sep 10, 2024
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.

3 participants