Deepgram · Schema

TopicSegment

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.
topics array Topics detected in this segment.
View JSON Schema on GitHub

JSON Schema

deepgram-topicsegment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TopicSegment",
  "title": "TopicSegment",
  "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."
    },
    "topics": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Topic"
      },
      "description": "Topics detected in this segment."
    }
  }
}