Generate JSON schemas for structured text classification with LLMs
Add the categories you want to classify text into:
JSON key for the classification field
// Please add at least one label to generate a schema
// Example will appear here
response_format = {
"type": "json_schema",
"json_schema": {
"name": "classification",
"schema": YOUR_SCHEMA_HERE
}
}