What api version does the Google Cloud STT plugin ...
# ask-ai
b
What api version does the Google Cloud STT plugin use?
Cloud Speech-to-Text v1
or
Cloud Speech-to-Text v2
>
t
Thanks for reaching out, Jura. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I don’t have a definitive answer on whether the Google Cloud STT plugin uses Cloud Speech-to-Text v1 or v2. Could you tell me if you have a specific version requirement or constraint (billing, feature like batch vs. streaming, or a particular model) so I can look into the best solution or workaround for your use case? Sources: Google Cloud STT plugin guide | LiveKit Docs | Live Conversations with AI using ChatGPT and WebRTC
b
Can you look into the git codebase?
t
Thanks — I can check the GitHub code for you. Do you have a preferred branch/commit or should I inspect the main repository path:
livekit/agents -> livekit-plugins -> livekit-plugins-google
? If you want me to look for specific indicators, tell me which you prefer me to search for: • HTTP calls to
speech.googleapis.com/v1
vs
.../v2
• Imported client libraries or package names that indicate v1 vs v2 • Use of model names like
chirp
(often v2) • Specific files (e.g., STT client init or config) — you can paste a path or filename. Sources: Google Cloud STT plugin guide | LiveKit Docs
b
inspect the main
t
Thanks — I attempted to inspect the main repo but I don't have direct access to the GitHub code from here. To proceed I can: • Inspect the repository path you mentioned if you paste the repo URL or specific files here, or • Search for these indicators in the code you provide: ◦ requests to
speech.googleapis.com/v1
vs
.../v2
◦ imported Google Speech client libraries or package names ◦ use of model names like
chirp
(typically v2) ◦ STT client initialization code Which would you like to do? Paste the repo link or the relevant files, and I’ll look for the exact API version. Sources: Live Conversations with AI using ChatGPT and WebRTC
t
I can’t browse GitHub from here. Please paste the plugin source file(s) or the relevant snippets (imports and STT client/init code). If you prefer to check yourself, look for: • HTTP endpoints:
speech.googleapis.com/v1
vs
speech.googleapis.com/v2
• Imported client or package names (e.g., v2-specific clients) • Model names like
chirp
(commonly used with v2) • Any references to
speech_v1
or
speech_v2
in imports Paste the file(s) and I’ll inspect them and tell you which API version is used. Sources: Google Cloud STT plugin guide | LiveKit Docs