forked from opensearch-project/ml-commons
-
Notifications
You must be signed in to change notification settings - Fork 0
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) (opensearch-project#2851) * Add support for Anthropic Message API (Issue 2826) Signed-off-by: Austin Lee <[email protected]> * Fix a bug. Signed-off-by: Austin Lee <[email protected]> * Add unit tests, improve coverage, clean up code. Signed-off-by: Austin Lee <[email protected]> * Allow pdf and jpg files for IT tests for multimodel conversation API testing. Signed-off-by: Austin Lee <[email protected]> * Fix spotless check issues. Signed-off-by: Austin Lee <[email protected]> * Update IT to work with session tokens. Signed-off-by: Austin Lee <[email protected]> * Fix MLRAGSearchProcessorIT not to extend RestMLRemoteInferenceIT. Signed-off-by: Austin Lee <[email protected]> * Use suite specific model group name. Signed-off-by: Austin Lee <[email protected]> * Disable tests that require futher investigation. Signed-off-by: Austin Lee <[email protected]> * Skip two additional tests with time-outs. Signed-off-by: Austin Lee <[email protected]> * Restore a change from RestMLRemoteInferenceIT. Signed-off-by: Austin Lee <[email protected]> --------- Signed-off-by: Austin Lee <[email protected]>
- Loading branch information
1 parent
eca963f
commit 17e81ae
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.