JsonSchema
A JSON schema structure that the model's output must adhere to.
Inherited functions
Link copied to clipboard
Casts this OutputFormatStructure as a JsonSchema and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.JsonSchemaDefinition value. Throws an exception if the OutputFormatStructure is not a JsonSchema.
Link copied to clipboard
Casts this OutputFormatStructure as a JsonSchema and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.JsonSchemaDefinition value. Returns null if the OutputFormatStructure is not a JsonSchema.