simulstream.server.speech_processors.incremental_output.IncrementalOutput
- class simulstream.server.speech_processors.incremental_output.IncrementalOutput(new_tokens: List[str], new_string: str, deleted_tokens: List[str], deleted_string: str)
Bases:
objectRepresents the incremental output of a speech processor for a single processed chunk of audio.
- __init__(new_tokens: List[str], new_string: str, deleted_tokens: List[str], deleted_string: str) None
Methods
__init__(new_tokens, new_string, ...)Serialize the incremental output to a JSON string.
Attributes