Google Speech-to-Text Model Types (google/models.py)

livekit/agents · livekit-plugins/livekit-plugins-google/livekit/plugins/google/models.py · python · Apache-2.0
voice, ai, integration, tag:typing, tag:models

Typed literals enumerating supported Google Speech-to-Text models and language codes for plugin configuration and validation.

# Source: https://github.com/livekit/agents | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
from typing import Literal

# Speech to Text (v1 and v2)

SpeechModels = Literal[
    "long",
    "short",
    "telephony",
    "medical_dictation",
    "medical_conversation",
    "chirp",
    "chirp_2",
    "chirp_3",
    "latest_long",
    "latest_short",
]
# https://docs.cloud.google.com/speech-to-text/docs/transcription-model

SpeechModelsV2 = Literal[
    "telephony",
    "chirp_2",
    "chirp_3",
]

SpeechLanguages = Literal[
    "af-ZA",
    "am-ET",
    "ar-AE",
    "ar-BH",
    "ar-DZ",
    "ar-EG",
    "ar-IL",
    "ar-IQ",
    "ar-JO",
    "ar-KW",
    "ar-LB",
    "ar-MA",
    "

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key