string
A string value, optionally constrained to a fixed set of choices.
Return
The schema.
Parameters
choices
Permitted values (JSON Schema enum), or null for any string.
description
Optional description surfaced to the model.
A string value, optionally constrained to a fixed set of choices.
The schema.
Permitted values (JSON Schema enum), or null for any string.
Optional description surfaced to the model.