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

AWS Bedrock add Cohere Command R model support. #667

Closed

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
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