Slide 6
Slide 6 text
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Sample Request
6
aws bedrock-runtime invoke-model ¥
--model-id us.anthropic.claude-3-7-sonnet-20250219-v1:0 ¥
--region us-east-1 ¥
--body '{
"anthropic_version": "bedrock-2023-05-31",
"max_tokens": 10000,
"thinking": {
"type": "enabled",
"budget_tokens": 8000
},
"messages": [
{
"role": "user",
"content": "東京から赤羽までの途中駅を題材に1000文字程度の小説を書いてください"
}
],
"temperature": 1.0
}' ¥
--cli-binary-format raw-in-base64-out ¥
output.json