AudioModelInference =================== .. autoclass:: ibm_watsonx_ai.foundation_models.inference.AudioModelInference :members: :exclude-members: :undoc-members: :show-inheritance: Enums ----- .. class:: AudioTranscriptionsModels Bases: ``StrEnum`` This represents a dynamically generated Enum for Audio Transcriptions Foundation Models. **Example of getting AudioTranscriptionsModels:** .. code-block:: python # GET AudioTranscriptionsModels ENUM client.foundation_models.AudioTranscriptionsModels # PRINT dict of Enums client.foundation_models.AudioTranscriptionsModels.show() **Example Output:** .. code-block:: {'WHISPER_TINY': 'openai/whisper-tiny'} **Example of initialising ModelInference with AudioTranscriptionsModels Enum:** .. code-block:: python from ibm_watsonx_ai.foundation_models import AudioModelInference model = AudioModelInference( model_id=client.foundation_models.AudioTranscriptionsModels.WHISPER_TINY, credentials=Credentials(...), project_id=project_id, )