diff --git a/docs/genai.html b/docs/genai.html index f01f209f3..59ab94315 100644 --- a/docs/genai.html +++ b/docs/genai.html @@ -2541,7 +2541,7 @@
Edits an image based on a text description and configuration.
Generates images based on a text description and configuration.
Optional[bool] = None¶Configures speaker diarization.
+_check_field_type_mismatches
Optional[LanguageAuto] = None (alias 'languageAuto')¶Optional[bool] = None (alias 'wordTimestamp')¶Configures word-level timestamp generation.
+_check_field_type_mismatches
Optional[bool]¶Configures speaker diarization.
+Optional[LanguageAutoDict]¶Optional[bool]¶Configures word-level timestamp generation.
+audio_transcription_config (genai.types.AudioTranscriptionConfig | None)
automatic_function_calling (genai.types.AutomaticFunctionCallingConfig | None)
Optional[AudioTranscriptionConfig] = None (alias 'audioTranscriptionConfig')¶Optional. Configuration for audio transcription (speech recognition).
+_check_field_type_mismatches
Optional[AutomaticFunctionCallingConfig] = None (alias 'automaticFunctionCalling')¶Optional[AudioTranscriptionConfigDict]¶Optional. Configuration for audio transcription (speech recognition).
+Optional[AutomaticFunctionCallingConfigDict]¶audio_transcription_config (genai.types.AudioTranscriptionConfig | None)
Optional[AudioTranscriptionConfig] = None (alias 'audioTranscriptionConfig')¶Optional. Configuration for audio transcription (speech recognition).
+_check_field_type_mismatches
Optional[int] = None (alias 'candidateCount')¶Optional[AudioTranscriptionConfigDict]¶Optional. Configuration for audio transcription (speech recognition).
+Optional[int]¶code_execution_result (genai.types.CodeExecutionResult | None)
Optional[Transcription] = None (alias 'audioTranscription')¶Output only. The transcription of the audio part.
+_check_field_type_mismatches
Optional[CodeExecutionResult] = None (alias 'codeExecutionResult')¶Optional[TranscriptionDict]¶Output only. The transcription of the audio part.
+Optional[CodeExecutionResultDict]¶Optional[str] = None (alias 'speakerLabel')¶A label identifying the speaker of this audio segment (e.g. “spk_1”, “spk_2”).
+_check_field_type_mismatches
Optional[str] = None¶Optional[list[WordInfo]] = None¶Detailed word-level transcriptions and timing details.
+_check_field_type_mismatches
Optional[str]¶A label identifying the speaker of this audio segment (e.g. “spk_1”, “spk_2”).
+Optional[str]¶Optional. Transcription text.
Optional[list[WordInfoDict]]¶Detailed word-level transcriptions and timing details.
+Bases: BaseModel
Information about a single recognized word.
+Create a new model by parsing and validating input data from keyword arguments.
+Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be +validated to form a valid model.
+self is explicitly positional-only to allow self as a field name.
+Show JSON schema
{
+ "title": "WordInfo",
+ "description": "Information about a single recognized word.",
+ "type": "object",
+ "properties": {
+ "word": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Transcript of the word.\n ",
+ "title": "Word"
+ },
+ "startOffset": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Start offset in time of the word relative to the start of the audio.\n ",
+ "title": "Startoffset"
+ },
+ "endOffset": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "End offset in time of the word relative to the start of the audio.\n ",
+ "title": "Endoffset"
+ }
+ },
+ "additionalProperties": false
+}
+
Optional[str] = None (alias 'endOffset')¶End offset in time of the word relative to the start of the audio.
+_check_field_type_mismatches
Optional[str] = None (alias 'startOffset')¶Start offset in time of the word relative to the start of the audio.
+_check_field_type_mismatches
Optional[str] = None¶Transcript of the word.
+_check_field_type_mismatches
Bases: TypedDict
Information about a single recognized word.
+Optional[str]¶End offset in time of the word relative to the start of the audio.
+Optional[str]¶Start offset in time of the word relative to the start of the audio.
+Optional[str]¶Transcript of the word.
+AudioTranscriptionConfig
AudioTranscriptionConfigDictAudioTranscriptionConfigDict.adaptation_phrasesAudioTranscriptionConfigDict.custom_vocabularyAudioTranscriptionConfigDict.diarizationAudioTranscriptionConfigDict.language_autoAudioTranscriptionConfigDict.language_codesAudioTranscriptionConfigDict.language_hintsAudioTranscriptionConfigDict.word_timestampAuthConfigGenerateContentConfigGenerateContentConfig.audio_timestampGenerateContentConfig.audio_transcription_configGenerateContentConfig.automatic_function_callingGenerateContentConfig.cached_contentGenerateContentConfig.candidate_countGenerateContentConfigDictGenerateContentConfigDict.audio_timestampGenerateContentConfigDict.audio_transcription_configGenerateContentConfigDict.automatic_function_callingGenerateContentConfigDict.cached_contentGenerateContentConfigDict.candidate_countGenerationConfigGenerationConfig.audio_timestampGenerationConfig.audio_transcription_configGenerationConfig.candidate_countGenerationConfig.enable_affective_dialogGenerationConfig.enable_enhanced_civic_answersGenerationConfigDictGenerationConfigDict.audio_timestampGenerationConfigDict.audio_transcription_configGenerationConfigDict.candidate_countGenerationConfigDict.enable_affective_dialogGenerationConfigDict.enable_enhanced_civic_answersPartPart.audio_transcriptionPart.code_execution_resultPart.executable_codePart.file_dataPartDictTranscriptionDict
TranslationConfigWhiteSpaceConfigDict.max_tokens_per_chunkWordInfo
+WordInfoDict
+AudioTranscriptionConfig
AudioTranscriptionConfigDictAudioTranscriptionConfigDict.adaptation_phrasesAudioTranscriptionConfigDict.custom_vocabularyAudioTranscriptionConfigDict.diarizationAudioTranscriptionConfigDict.language_autoAudioTranscriptionConfigDict.language_codesAudioTranscriptionConfigDict.language_hintsAudioTranscriptionConfigDict.word_timestampAuthConfigGenerateContentConfigGenerateContentConfigDictGenerationConfigGenerationConfigDict
PartPart.audio_transcriptionPart.code_execution_resultPart.executable_codePart.file_dataPartDict