Audio

@Serializable
@SerialName(value = "input_audio")
data class Audio(val inputAudio: ChatInputAudio, val promptCacheBreakpoint: PromptCacheBreakpoint? = null) : ChatInputPart

Base64-encoded audio input.

Constructors

Link copied to clipboard
constructor(inputAudio: ChatInputAudio, promptCacheBreakpoint: PromptCacheBreakpoint? = null)

Properties

Link copied to clipboard
@SerialName(value = "input_audio")
val inputAudio: ChatInputAudio

Audio data and encoding.

Link copied to clipboard
@SerialName(value = "prompt_cache_breakpoint")
val promptCacheBreakpoint: PromptCacheBreakpoint? = null

Optional explicit cache boundary after this part.