-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Bedrock Converse API (Anthropic Messages API, Claude …
…3.5 Sonnet) (#2851) (#2913) * 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)
- Loading branch information
1 parent
5e6ac30
commit ed37690
Showing
18 changed files
with
1,869 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
701 changes: 684 additions & 17 deletions
701
plugin/src/test/java/org/opensearch/ml/rest/RestMLRAGSearchProcessorIT.java
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+63.7 KB
plugin/src/test/resources/org/opensearch/ml/rest/test_data/lincoln.pdf
Binary file not shown.
Binary file added
BIN
+101 KB
plugin/src/test/resources/org/opensearch/ml/rest/test_data/openai_boardwalk.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.