airflow.contrib.operators.gcp_speech_to_text_operator

Module Contents

class airflow.contrib.operators.gcp_speech_to_text_operator.GcpSpeechToTextRecognizeSpeechOperator(audio, config, project_id=None, gcp_conn_id='google_cloud_default', retry=None, timeout=None, *args, **kwargs)[source]

Bases: airflow.models.BaseOperator

Recognizes speech from audio file and returns it as text.

See also

For more information on how to use this operator, take a look at the guide: GcpSpeechToTextRecognizeSpeechOperator

Parameters
template_fields = ['audio', 'config', 'project_id', 'gcp_conn_id', 'timeout'][source]
_validate_inputs(self)[source]
execute(self, context)[source]

Was this entry helpful?