OptionalcontentOptionallabelsThe label set to classify as. Either a JSON array of label strings (e.g. ["spam", "not_spam"]), or a JSON object mapping each label to a description (e.g. {"spam": "unsolicited bulk message", "not_spam": "a legitimate message"}). Accepts 2 to 500 labels, each 1 to 100 characters.
OptionaloptionsFunction options. Omitted fields fall back to their documented defaults.
The content to classify. It accepts a plain string or the response object of ai_parse_document.