AudioContent

data class AudioContent(val data: String, val mimeType: String, val annotations: Annotations? = null) : PromptMessageContentMultimodal(source)

Audio provided to or from an LLM.

Constructors

Link copied to clipboard
constructor(data: String, mimeType: String, annotations: Annotations? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Optional annotations for the client.

Link copied to clipboard

The base64-encoded audio data.

Link copied to clipboard

The MIME type of the audio. Different providers may support different audio types.

Link copied to clipboard
open override val type: String