Python class
TextGenerationResponseFormat
TextGenerationResponseFormatโ
class max.interfaces.TextGenerationResponseFormat
Bases: TypedDict
Represents the response format specification for a text generation request.
json_schemaโ
A JSON schema dictionary that defines the structure and validation rules for the generated response.
typeโ
type: str
The type of response format, for example, json_object.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!