GitHub

ConfigService

API reference for ConfigService.

A Converse request's fields (but those built from the prompt and the toolkit) and structured_outputs: whether generate_object uses Converse's native structured output instead of a forced tool named after the object (on a model that takes it; the caller's own tools then stay available). The thinking budget comes out of maxTokens, so inferenceConfig.maxTokens must exceed budget_tokens.

Attributes

AttributeTypeDescription
modelIdstr
inferenceConfigW.InferenceConfiguration
additionalModelRequestFieldsMapping[str, Any]
guardrailConfigW.GuardrailConfiguration
outputConfigOutputConfig
structured_outputsbool