SpeechTilesAndamento Docs
Get started
Configuration Reference

Speech Recognition Task

JSON property task

JSON type object

Used in Speech Recognition

Configures one speech-recognition task.

Developer guidance

The task object configures an individual recognition task. reportPartialResults controls interim hypotheses; autoPunctuate requests punctuation behavior. The exact engine may affect which capabilities are available.

Example in context

Illustrative JSON excerpt (not a complete configuration document):

{
  "speechRecognition": {
    "task": {
      "taskID": "SRTask_ID",
      "reportPartialResults": true,
      "autoPunctuate": false
    }
  }
}

taskID identifies the recognition task; these are task settings rather than Conversation-wide defaults.

Properties

taskID

stringOptionalDefault: SRTask_ID

Application correlation identifier for the recognition task.

Runtime fields: Supported — The complete property value may be supplied using $[FieldName].

taskHint

stringOptional

Provides a recognition task hint.

Allowed values
  • dictation — Dictation-style input.
  • search — Search-style input.
  • confirmation — Short confirmation-style input.
Runtime fields: Supported — The complete property value may be supplied using $[FieldName].

reportPartialResults

booleanOptionalDefault: False

Reports intermediate hypotheses in addition to the final result.

Runtime fields: Supported — The complete property value may be supplied using $[FieldName].

autoPunctuate

booleanOptionalDefault: False

Requests automatic punctuation for recognized speech.

Runtime fields: Supported — The complete property value may be supplied using $[FieldName].

onDeviceRecognition

booleanOptionalDefault: False

Requires on-device recognition. If unavailable, recognition fails rather than falling back to cloud recognition.

Runtime fields: Supported — The complete property value may be supplied using $[FieldName].

recognitionContext

objectOptional

Recognition context applied to this task.