-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
api chatChat API specificChat API specificenhancementNew feature or requestNew feature or requestmodelAI/LLM model specificAI/LLM model specific
Milestone
Description
Add support for Nova reasoning!
import boto3
MAX_REASONING_EFFORT="low" # low, medium, high
response = boto3.client("bedrock-runtime).converse(
modelId="global.amazon.nova-2-lite-v1:0",
messages=[{
"role": "user",
"content": [{"text": "I need to optimize a logistics network with 5 warehouses, 12 distribution centers, and 200 retail locations. The goal is to minimize total transportation costs while ensuring no location is more than 50 miles from a distribution center. What approach should I take?"}]
}],
additionalModelRequestFields={
"reasoningConfig": {
"type": "enabled", # enabled, disabled (default)
"maxReasoningEffort": MAX_REASONING_EFFORT
}
}
)Metadata
Metadata
Assignees
Labels
api chatChat API specificChat API specificenhancementNew feature or requestNew feature or requestmodelAI/LLM model specificAI/LLM model specific
Type
Projects
Status
Ready