Vapi · Schema

TranscriptionEndpointingPlan

AIVoiceAgentsRealtimeCPaaS

Properties

Name Type Description
onPunctuationSeconds number The minimum number of seconds to wait after transcription ending with punctuation before sending a request to the model. Defaults to 0.1. This setting exists because the transcriber punctuates the tra
onNoPunctuationSeconds number The minimum number of seconds to wait after transcription ending without punctuation before sending a request to the model. Defaults to 1.5. This setting exists to catch the cases where the transcribe
onNumberSeconds number The minimum number of seconds to wait after transcription ending with a number before sending a request to the model. Defaults to 0.4. This setting exists because the transcriber will sometimes punctu
View JSON Schema on GitHub

JSON Schema

vapi-transcriptionendpointingplan-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TranscriptionEndpointingPlan",
  "title": "TranscriptionEndpointingPlan",
  "type": "object",
  "properties": {
    "onPunctuationSeconds": {
      "type": "number",
      "description": "The minimum number of seconds to wait after transcription ending with punctuation before sending a request to the model. Defaults to 0.1.\n\nThis setting exists because the transcriber punctuates the transcription when it's more confident that customer has completed a thought.\n\n@default 0.1",
      "minimum": 0,
      "maximum": 3,
      "example": 0.1
    },
    "onNoPunctuationSeconds": {
      "type": "number",
      "description": "The minimum number of seconds to wait after transcription ending without punctuation before sending a request to the model. Defaults to 1.5.\n\nThis setting exists to catch the cases where the transcriber was not confident enough to punctuate the transcription, but the customer is done and has been silent for a long time.\n\n@default 1.5",
      "minimum": 0,
      "maximum": 3,
      "example": 1.5
    },
    "onNumberSeconds": {
      "type": "number",
      "description": "The minimum number of seconds to wait after transcription ending with a number before sending a request to the model. Defaults to 0.4.\n\nThis setting exists because the transcriber will sometimes punctuate the transcription ending with a number, even though the customer hasn't uttered the full number. This happens commonly for long numbers when the customer reads the number in chunks.\n\n@default 0.5",
      "minimum": 0,
      "maximum": 3,
      "example": 0.5
    }
  }
}