Nova model support in FunctionCalling#4682
Nova model support in FunctionCalling#4682rithinpullela wants to merge 2 commits intoopensearch-project:mainfrom
Conversation
Add function calling and model provider support for Amazon Nova models via the Bedrock Converse API. Nova uses the same API format as Claude, so the new classes extend the existing Bedrock Converse implementations with a distinct LLM interface identifier (bedrock/converse/nova). Resolves opensearch-project#4680 Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
Adds RestBedrockConverseNovaFunctionCallingIT that validates Nova model support end-to-end via the unified agent API. The test registers a conversational agent backed by Amazon Nova Pro, executes it with ListIndexTool, and verifies the test index name appears in the response. Uses AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN environment variables for credentials. Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4682 +/- ##
=========================================
Coverage 77.04% 77.05%
- Complexity 11354 11370 +16
=========================================
Files 944 946 +2
Lines 51145 51151 +6
Branches 6196 6196
=========================================
+ Hits 39407 39414 +7
+ Misses 9125 9123 -2
- Partials 2613 2614 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Adds support for Nova Models in function calling
Related Issues
Resolves #4680
Check List
--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.