Skip to content

Commit c3f630b

Browse files
yinghsienwucopybara-github
authored andcommitted
docs: Clarify Live API START/END_SENSITIVITY_HIGH/LOW defaults are different in Gemini Live and Gemini Enterprise Agent Platform Live API
Fixes #2555 PiperOrigin-RevId: 928868699
1 parent 216369f commit c3f630b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

google/genai/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ class StartSensitivity(_common.CaseInSensitiveEnum):
12281228
"""Start of speech sensitivity."""
12291229

12301230
START_SENSITIVITY_UNSPECIFIED = 'START_SENSITIVITY_UNSPECIFIED'
1231-
"""The default is START_SENSITIVITY_LOW."""
1231+
"""The default is START_SENSITIVITY_LOW for Gemini Enterprise Agent Platform and START_SENSITIVITY_HIGH for Gemini Live."""
12321232
START_SENSITIVITY_HIGH = 'START_SENSITIVITY_HIGH'
12331233
"""Automatic detection will detect the start of speech more often."""
12341234
START_SENSITIVITY_LOW = 'START_SENSITIVITY_LOW'
@@ -1239,7 +1239,7 @@ class EndSensitivity(_common.CaseInSensitiveEnum):
12391239
"""End of speech sensitivity."""
12401240

12411241
END_SENSITIVITY_UNSPECIFIED = 'END_SENSITIVITY_UNSPECIFIED'
1242-
"""The default is END_SENSITIVITY_LOW."""
1242+
"""The default is END_SENSITIVITY_LOW for Gemini Enterprise Agent Platform and END_SENSITIVITY_HIGH for Gemini Live."""
12431243
END_SENSITIVITY_HIGH = 'END_SENSITIVITY_HIGH'
12441244
"""Automatic detection ends speech more often."""
12451245
END_SENSITIVITY_LOW = 'END_SENSITIVITY_LOW'

0 commit comments

Comments
 (0)