Giá trị nhà cung cấp
Sử dụngbedrock trong llm.profiles.<name>.provider.
Hồ sơ ví dụ
Các biến môi trường bắt buộc
Biến môi trường tùy chọn
AWS_SESSION_TOKEN khi sử dụng thông tin xác thực tạm thời.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Cấu hình AWS Bedrock làm nhà cung cấp LLM để tạo bản dịch.
bedrock trong llm.profiles.<name>.provider.
{
"llm": {
"profiles": {
"default": {
"provider": "bedrock",
"model": "anthropic.claude-3-5-sonnet-20241022-v2:0",
"prompt": "Translate from {{source}} to {{target}}:\n\n{{input}}"
}
}
}
}
export AWS_REGION="us-east-1"
export AWS_ACCESS_KEY_ID="your-access-key-id"
export AWS_SECRET_ACCESS_KEY="your-secret-access-key"
AWS_REGION="us-east-1"
AWS_ACCESS_KEY_ID="your-access-key-id"
AWS_SECRET_ACCESS_KEY="your-secret-access-key"
AWS_SESSION_TOKEN khi sử dụng thông tin xác thực tạm thời.Trang này có hữu ích không?
