Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

增加aws bedrock Claude Cross-region模型支持 #416

Merged
merged 4 commits into from
Nov 20, 2024

Conversation

ZeroDeng01
Copy link
Contributor

增加aws bedrock Claude Cross-region模型支持。
参考资料:https://docs.aws.amazon.com/bedrock/latest/userguide/inference-profiles-support.html

实现和配置方式:
类似US Anthropic Claude 3 Sonnet的Inference profile ID是us.anthropic.claude-3-sonnet-20240229-v1:0,后端做对应适配。在配置渠道模型的时候在原有模型名字前面以.分割增加区域标记us,即US Anthropic Claude 3 Sonnet的模型配置应该配置为us.claude-3-5-sonnet-20240620,如下图:
image
如果需要用户请求claude-3-5-sonnet-20240620可以访问onehub的对应模型可以使用模型映射功能。

close #415

我已确认该 PR 已自测通过,相关截图如下:
1
image

@MartialBE MartialBE merged commit aeee382 into MartialBE:main Nov 20, 2024
@MartialBE
Copy link
Owner

THX~

@ZeroDeng01 ZeroDeng01 deleted the bedrock-cross-region branch November 20, 2024 05:36
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS Bedrock渠道调用Claude 3.5 Sonnet v2失败
2 participants