reface to openteam
This commit is contained in:
36
llm/aws/aws.go
Normal file
36
llm/aws/aws.go
Normal file
@@ -0,0 +1,36 @@
|
||||
// /*
|
||||
// # AWS
|
||||
// https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
|
||||
// https://aws.amazon.com/cn/bedrock/pricing/
|
||||
// Anthropic models Price for 1000 input tokens Price for 1000 output tokens
|
||||
// Claude Instant $0.00163 $0.00551
|
||||
|
||||
// Claude $0.01102 $0.03268
|
||||
|
||||
// https://docs.aws.amazon.com/bedrock/latest/userguide/endpointsTable.html
|
||||
// 地区名称 地区 端点 协议
|
||||
// 美国东部(弗吉尼亚北部) 美国东部1 bedrock-runtime.us-east-1.amazonaws.com HTTPS
|
||||
// bedrock-runtime-fips.us-east-1.amazonaws.com HTTPS
|
||||
// 美国西部(俄勒冈州) 美国西2号 bedrock-runtime.us-west-2.amazonaws.com HTTPS
|
||||
// bedrock-runtime-fips.us-west-2.amazonaws.com HTTPS
|
||||
// 亚太地区(新加坡) ap-东南-1 bedrock-runtime.ap-southeast-1.amazonaws.com HTTPS
|
||||
// */
|
||||
// //
|
||||
|
||||
package aws
|
||||
|
||||
// import (
|
||||
// "context"
|
||||
// "log"
|
||||
|
||||
// "github.com/aws/aws-sdk-go-v2/config"
|
||||
// )
|
||||
|
||||
// // ...
|
||||
|
||||
// func CallClaude() {
|
||||
// cfg, err := config.LoadDefaultConfig(context.TODO())
|
||||
// if err != nil {
|
||||
// log.Fatalf("failed to load configuration, %v", err)
|
||||
// }
|
||||
// }
|
||||
Reference in New Issue
Block a user