BotOutputData
@Serializable
Streaming bot output tokens/chunks.
Example (Protocol 2.0.0): {"text":"your","aggregated_by":"word","will_be_spoken":true,"spoken_status":"in-progress","segment_id":1}
Constructors
Link copied to clipboard
constructor(text: String, aggregatedBy: String, spoken: Boolean? = null, willBeSpoken: Boolean? = null, spokenStatus: BotOutputData.SpokenStatus? = null, spokenProgress: BotOutputProgressData? = null, segmentId: Int? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Deprecated (Protocol 1.4.x). Use willBeSpoken instead.
Link copied to clipboard
Protocol 2.0.0: Word-level progress through the spoken segment.
Link copied to clipboard
Protocol 2.0.0: Current lifecycle stage of the spoken segment.
Link copied to clipboard
Protocol 2.0.0: Whether this text will be spoken by TTS.