Gemini.Types.Live.AudioTranscriptionConfig (GeminiEx v0.9.0)

Copy Markdown View Source

Audio transcription configuration for Live API sessions.

This type enables transcription of voice input or model audio output. The transcription aligns with the input audio language (for input) or the language code specified for output audio (for output).

Example

# Enable input transcription
%AudioTranscriptionConfig{}

Summary

Functions

Parses from API response.

Creates a new AudioTranscriptionConfig.

Converts to API format (camelCase).

Types

t()

@type t() :: %Gemini.Types.Live.AudioTranscriptionConfig{}

Functions

from_api(arg1)

@spec from_api(map() | nil) :: t() | nil

Parses from API response.

new(opts \\ [])

@spec new(keyword()) :: t()

Creates a new AudioTranscriptionConfig.

to_api(arg1)

@spec to_api(t() | nil) :: map() | nil

Converts to API format (camelCase).