Deepgram · Schema

IntentSegment

Artificial IntelligenceSpeech-To-TextText-To-SpeechTranscriptionVoice AI

Properties

Name Type Description
text string Text of the segment.
start_word integer Index of the first word in this segment.
end_word integer Index of the last word in this segment.
intents array Intents detected in this segment.
View JSON Schema on GitHub

JSON Schema

deepgram-intentsegment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/IntentSegment",
  "title": "IntentSegment",
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "Text of the segment."
    },
    "start_word": {
      "type": "integer",
      "description": "Index of the first word in this segment."
    },
    "end_word": {
      "type": "integer",
      "description": "Index of the last word in this segment."
    },
    "intents": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Intent"
      },
      "description": "Intents detected in this segment."
    }
  }
}