Hugging Face · Schema

TranslationRequest

Properties

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

JSON Schema

hugging-face-translationrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TranslationRequest",
  "title": "TranslationRequest",
  "type": "object",
  "required": [
    "inputs"
  ],
  "properties": {
    "inputs": {
      "type": "string",
      "description": "The text to translate",
      "example": "Hello, how are you?"
    }
  }
}