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

[Feature Request]: #3071

Open
kambalaashok4 opened this issue Jul 3, 2024 · 1 comment
Open

[Feature Request]: #3071

kambalaashok4 opened this issue Jul 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@kambalaashok4
Copy link

Is your feature request related to a problem? Please describe.

how to use autogen with aws bedrock models?

Describe the solution you'd like

as of now autogen support with url_base request, instead of this we need to directly send request to aws bedrock model

Additional context

No response

@kambalaashok4 kambalaashok4 added the enhancement New feature or request label Jul 3, 2024
@makkzone
Copy link
Contributor

I have added for the anthropic models available through bedrock.

You can pull from here until the merge is done to main branch.

Below is the example usage

import autogen
config_list = [
{
"model": "anthropic.claude-3-5-sonnet-20240620-v1:0",
"aws_access_key":accessKey,
"aws_secret_key":secretKey,
"aws_session_token":sessionTok,
"aws_region":"us-east-1",
"api_type": "anthropic",
}
]
assistant = autogen.AssistantAgent("assistant", llm_config={"config_list": config_list})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
2 participants