OptionalenableWhen true, includes a per-label confidence score in the response.
OptionalenableWhen true, includes a rationale explaining each classification in the response.
OptionalinstructionsNatural-language guidance that steers how the text is classified (up to 20,000 characters).
OptionalmultilabelWhen true, allows more than one label to be returned per input.
OptionalversionThe function version to invoke. Defaults to the latest version. Supported versions: ["2.1"].
ai_classify