AzureOpenAITranscriptionsTool()The project endpoint associated with the AI project. If this is specified,
The endpoint of the specific service to connect to. If you are connecting to a
The API key or credential to use to connect to the service. If using a project
The API version to use with Azure. If None, the
Additional keyword arguments to pass to the client.
Transcribes audio to text using an OpenAI-compatible speech-to-text API.
This tool connects to model deployments in Azure AI Foundry or Azure OpenAI that
expose an OpenAI-compatible /audio/transcriptions endpoint, such as
whisper-1 or a custom Whisper deployment.
Supports both local audio files and remote URLs. Automatically detects the source type and downloads remote files as needed. Supports a wide range of audio formats including MP3, MP4, MPEG, MPGA, M4A, OGG, FLAC, and WAV.
Example:
.. code-block:: python
from langchain_azure_ai.tools import AzureOpenAITranscriptionsTool
tool = AzureOpenAITranscriptionsTool(
endpoint="https://