Skip to content

[Feature Request]:  #3071

Duplicate of#5226
Duplicate of#5226
@kambalaashok4

Description

@kambalaashok4

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

Activity

makkzone

makkzone commented on Jul 10, 2024

@makkzone
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})

added
0.2Issues which are related to the pre 0.4 codebase
on Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.2Issues which are related to the pre 0.4 codebaseneeds-triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jackgerrits@rysweet@makkzone@kambalaashok4@fniedtner

        Issue actions

          [Feature Request]: · Issue #3071 · microsoft/autogen