public/api/types/inputs library

Classes

AudioFormatSpec
Sample-rate, channel-count, and encoding of an AudioInput.
AudioFrame
One PCM frame pushed into a live stream opened by stt.openStream or vad.openStream. Samples must match the format the stream was opened with; live streams take raw PCM only.
AudioInput
Audio handed to stt, vad, and diarization.
ChatMessage
One turn in a chat conversation.
ImageInput
Image handed to vlm and segmentation.
ModelRef
Reference to a registered model, plus an optional voice for TTS.
RagDocument
Document handed to RagSession.ingest.

Enums

AudioEncoding
Sample encoding of the bytes carried by an AudioInput.
ChatRole
Conversational role of a ChatMessage.