-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat:support AWS bedrock calling claude #76
base: main
Are you sure you want to change the base?
Conversation
components/model/claude/claude.go
Outdated
@@ -38,7 +41,7 @@ import ( | |||
// - conf: Configuration for the Claude model | |||
// | |||
// Returns: | |||
// - model.ChatModel: A chat model interface implementation | |||
// - model.claude: A chat model interface implementation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
model.claude 这个不对,是 model.ChatModel
components/model/claude/claude.go
Outdated
awsConfig.WithCredentialsProvider(credentials.NewStaticCredentialsProvider( | ||
config.AccessKey, | ||
config.SecretAccessKey, | ||
"", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个空字符串是啥参数?
AccessKey string | ||
|
||
// SecretAccessKey is your Bedrock API Secret Access key | ||
// Obtain from: https://docs.aws.amazon.com/bedrock/latest/userguide/getting-started.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个文档信息是准确的吗?
What type of PR is this?
Check the PR title.
(Optional) Translate the PR title into Chinese.
新增支持Aws bedrock方式调用cluade
(Optional) More detailed description for this PR(en: English/zh: Chinese).
en:
zh(optional):
(Optional) Which issue(s) this PR fixes:
(optional) The PR that updates user documentation: