You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ff153a7
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: google/genai/types.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -11395,22 +11395,22 @@ class TranslationConfig(_common.BaseModel):
11395
11395
11396
11396
echo_target_language: Optional[bool] = Field(
11397
11397
default=None,
11398
-
description="""Optional. If true, the model will generate audio when the target language is spoken, essentially it will parrot the input. If false, we will not produce audio for the target language.""",
11398
+
description="""If true, the model will generate audio when the target language is spoken, essentially it will parrot the input. If false, we will not produce audio for the target language.""",
11399
11399
)
11400
11400
target_language_code: Optional[str] = Field(
11401
11401
default=None,
11402
-
description="""Required. The target language for translation. Supported values are BCP-47 language codes (e.g. "en", "es", "fr").""",
11402
+
description="""The target language for translation. Supported values are BCP-47 language codes (e.g. "en", "es", "fr").""",
11403
11403
)
11404
11404
11405
11405
11406
11406
class TranslationConfigDict(TypedDict, total=False):
11407
11407
"""Config for stream translation."""
11408
11408
11409
11409
echo_target_language: Optional[bool]
11410
-
"""Optional. If true, the model will generate audio when the target language is spoken, essentially it will parrot the input. If false, we will not produce audio for the target language."""
11410
+
"""If true, the model will generate audio when the target language is spoken, essentially it will parrot the input. If false, we will not produce audio for the target language."""
11411
11411
11412
11412
target_language_code: Optional[str]
11413
-
"""Required. The target language for translation. Supported values are BCP-47 language codes (e.g. "en", "es", "fr")."""
11413
+
"""The target language for translation. Supported values are BCP-47 language codes (e.g. "en", "es", "fr")."""
0 commit comments