Same approachGoogle posted earlier
Improving Structured Outputs in the Gemini API
AI:Both add schema-constrained structured output, here for Bedrock Custom Model Import.
Today, we are excited to announce the addition of structured output to Custom Model Import. Structured output constrains a model’s generation process in real time so that every token it produces conforms to a schema you define. Rather than relying on prompt-engineering tricks or brittle post-processing scripts, you can now generate structured outputs directly at inference time.
Read the original (opens the source's page in a new tab)
Bedrock Custom Model Import now supports structured output, constraining each generated token to a JSON schema you define at inference time.
Teams serving imported or fine-tuned models on Bedrock that need machine-readable outputs for downstream systems without post-processing.
Same approachGoogle posted earlier
AI:Both add schema-constrained structured output, here for Bedrock Custom Model Import.