bitter-oil-89745
06/07/2025, 6:13 AMtall-airline-16756
06/07/2025, 6:13 AMtall-airline-16756
06/07/2025, 6:14 AMcredentials_info dictionary parameter.
◦ Save credentials in a JSON file and specify the path using the credentials_file parameter.
◦ Use Application Default Credentials (ADC).
• Ensure that you are using one of these methods correctly in your setup.
Here's an example of how to configure Google STT in an AgentSession:
from livekit.plugins import google
session = AgentSession(
stt = google.STT(
model="chirp",
spoken_punctuation=False,
# Add your authentication method here
# credentials_info={...} or
# credentials_file="path/to/credentials.json"
),
# ... llm, tts, etc.
)
If you continue to face issues, please double-check your credentials and ensure they are valid. Let me know if you need further assistance!
Sources: Google Cloud STT integration guide | LiveKit Docs