Skip to content

Conversation

@maxjiang153
Copy link
Contributor

AWS Bedrock Cohere Command R release link: https://aws.amazon.com/about-aws/whats-new/2024/04/cohere-command-r-r-plus-amazon-bedrock/

Cohere Command R model request and response body format is different than Cohere, so I create a new BedrockCohereCommandRChatClient client.

Here is the request body documentation: https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-cohere-command-r-plus.html

@markpollack markpollack assigned markpollack and tzolov and unassigned markpollack May 21, 2024
@markpollack markpollack added this to the 1.0.0-M2 milestone May 24, 2024
@maxjiang153 maxjiang153 changed the title AWS Bedrock add Cohere Command R model support. [WIP]AWS Bedrock add Cohere Command R model support. May 31, 2024
@maxjiang153 maxjiang153 force-pushed the bedrock-cohere-command-r branch from 9a0feaa to 17d56b0 Compare June 2, 2024 02:23
@maxjiang153
Copy link
Contributor Author

Hi @tzolov pls check this PR, I've updated the Cohere Command R model from ChatClient to ChatModel and added exponential backoff support.

AWS Bedrock Cohere Model supports Function calling, if this PR can be merged, I'll create a new PR for function calling

@maxjiang153 maxjiang153 changed the title [WIP]AWS Bedrock add Cohere Command R model support. AWS Bedrock add Cohere Command R model support. Jun 2, 2024
@maxjiang153
Copy link
Contributor Author

re-implement with: #813

@maxjiang153 maxjiang153 closed this Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants