VoxRtcServer.SpeechContext (vox_rtc_server v0.2.4)

Copy Markdown View Source

Versioned speech enrichment attached to a final transcript.

Summary

Types

status()

@type status() :: :complete | :partial | :failed

t()

@type t() :: %VoxRtcServer.SpeechContext{
  emotions: [VoxRtcServer.SpeechContextSpan.t()] | nil,
  schema_version: 2,
  sounds: [VoxRtcServer.SpeechContextSoundSpan.t()] | nil,
  status: status(),
  unavailable: [track()] | nil,
  vocal: [VoxRtcServer.SpeechContextSpan.t()] | nil
}

track()

@type track() :: :speaker | :sounds

Functions

decode(value)

@spec decode(Google.Protobuf.Struct.t() | nil) :: t() | nil