Setup
Set your OpenAI API key in the worker environment. Generate a key from the OpenAI dashboard:Usage
Import the plugin and pass it to the pipeline’sstt slot.
Azure OpenAI
To run OpenAI transcription through Azure OpenAI, use the separateAzureOpenAISTT
plugin. It reads its configuration from Azure environment variables when arguments are
omitted:
AzureOpenAISTT ships in the Python SDK only. The Node JS SDK does not ship an Azure OpenAI
provider.api_key falls back to AZURE_API_KEY, then AZURE_OPENAI_API_KEY. deployment falls
back to AZURE_OPENAI_STT_DEPLOYMENT. AzureOpenAISTT runs non-streaming by default
(stream=False).Parameters
Constructor parameters forOpenAISTT. The Python and Node JS SDKs share these field names.
Azure OpenAI (AzureOpenAISTT)
Import paths
Transcribed text passes to the LLM once
turn detection decides the caller has finished speaking.