Use case
Implement Anthropic's "think" tool functionality to provide a dedicated space for structured thinking during complex tasks. The tool allows for better policy compliance, sequential decision making, and analysis of tool outputs.
Related #320
Solution/User Experience
Bedrock Implementation
# Configure reasoning parameters with a 2000 token budget
reasoning_config = {
"thinking": {
"type": "enabled",
"budget_tokens": 2000
}
}
response = client.converse(
modelId=model_id,
messages=conversation,
additionalModelRequestFields=reasoning_config
)
Alternative solutions
Use case
Implement Anthropic's "think" tool functionality to provide a dedicated space for structured thinking during complex tasks. The tool allows for better policy compliance, sequential decision making, and analysis of tool outputs.
Related #320
Solution/User Experience
Bedrock Implementation
Alternative solutions