Send feedback
Class StreamingRecognitionFeatures (2.16.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.16.1 keyboard_arrow_down
StreamingRecognitionFeatures (
mapping = None , * , ignore_unknown_fields = False , ** kwargs
)
Available recognition features specific to streaming
recognition requests.
Attributes
Name Description enable_voice_activity_events
bool
If ``true``, responses with voice activity speech events
will be returned as they are detected.
interim_results
bool
Whether or not to stream interim results to
the client. If set to true, interim results will
be streamed to the client. Otherwise, only the
final response will be streamed back.
voice_activity_timeout
google.cloud.speech_v2.types.StreamingRecognitionFeatures.VoiceActivityTimeout
If set, the server will automatically close the stream after
the specified duration has elapsed after the last
VOICE_ACTIVITY speech event has been sent. The field
``voice_activity_events`` must also be set to true.
Inheritance
builtins.object
>
proto.message.Message
>
StreamingRecognitionFeatures
Classes
VoiceActivityTimeout
VoiceActivityTimeout ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
Events that a timeout can be set on for voice activity.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]