Class TaskStreamEventBody
One event of a task stream (both the JSON events[] rows and the SSE task.stream.event payload).
public sealed class TaskStreamEventBody
- Inheritance
-
TaskStreamEventBody
- Inherited Members
Properties
Artifacts
Artifacts carried by this event, when the build streams them.
public IReadOnlyList<AudioArtifact>? Artifacts { get; }
Property Value
Audio
WAV bytes of this event's audio.
public byte[]? Audio { get; }
Property Value
- byte[]
IsFinal
Whether this event is the final one.
public bool IsFinal { get; }
Property Value
Language
Language of the partial text.
public string? Language { get; }
Property Value
NamedAudioOutputs
Named audio outputs of this event (WAV, format=wav).
public IReadOnlyList<NamedAudioOutput>? NamedAudioOutputs { get; }
Property Value
PartialText
Text produced since the previous event, with its language.
public string? PartialText { get; }
Property Value
PartialTextSnapshot
Whole provisional text to replace, not append.
public string? PartialTextSnapshot { get; }
Property Value
SpeakerTurns
Speaker turns (diarization runs).
public IReadOnlyList<AudioCppSpeakerTurn>? SpeakerTurns { get; }
Property Value
WordTimestamps
Word timestamps attached to this event.
public IReadOnlyList<AudioCppWord>? WordTimestamps { get; }