Hugging Face · Schema

TextClassificationRequest

Properties

Name Type Description
inputs string The text to classify
View JSON Schema on GitHub

JSON Schema

hugging-face-textclassificationrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TextClassificationRequest",
  "title": "TextClassificationRequest",
  "type": "object",
  "required": [
    "inputs"
  ],
  "properties": {
    "inputs": {
      "type": "string",
      "description": "The text to classify",
      "example": "I love this movie!"
    }
  }
}