Duplicate of#5226
Description
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
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
makkzone commentedon Jul 10, 2024
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})