Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.
JSON Schema configuration object

Fields

FieldTypeRequiredDescriptionExample
descriptionOptional[str]:heavy_minus_sign:Schema description for the modelA mathematical response
namestr:heavy_check_mark:Schema name (a-z, A-Z, 0-9, underscores, dashes, max 64 chars)math_response
schema_Dict[str, Nullable[Any]]:heavy_minus_sign:JSON Schema object{"properties": {"answer": {"type": "number"}
},
“required”: [
“answer”
],
“type”: “object”
}
strictOptionalNullable[bool]:heavy_minus_sign:Enable strict schema adherencefalse