-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Adding bedrock chat completion for anthropic models #6170
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
Adding bedrock chat completion for anthropic models #6170
Conversation
@microsoft-github-policy-service agree |
python/packages/autogen-ext/src/autogen_ext/models/anthropic/_anthropic_client.py
Outdated
Show resolved
Hide resolved
python/packages/autogen-ext/src/autogen_ext/models/anthropic/config/__init__.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use secrete str for keys and tokens
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6170 +/- ##
==========================================
- Coverage 78.39% 78.26% -0.13%
==========================================
Files 221 221
Lines 16102 16158 +56
==========================================
+ Hits 12623 12646 +23
- Misses 3479 3512 +33
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:
|
@HariniNarasimhan checkout |
## Why are these changes needed? Anthropic models are supported by AWS bedrock. ChatCompletionClient can be created for anthropic bedrock models using this changes. This enables the user to do the following - Add any anthropic models and version from AWS bedrock - Can use ChatCompletionClient for bedrock anthropic models ## Related issue number Closes microsoft#5226 --------- Co-authored-by: harini.narasimhan <[email protected]> Co-authored-by: Eric Zhu <[email protected]>
Why are these changes needed?
Anthropic models are supported by AWS bedrock. ChatCompletionClient can be created for anthropic bedrock models using this changes. This enables the user to do the following
Related issue number
Closes #5226