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
For speech-to-text on Azure, use the Azure STT plugin.Parameters
Constructor parameters forOpenAISTT. The Python and Node JS SDKs share these field names.
Import paths
Transcribed text passes to the LLM once
turn detection decides the caller has finished speaking.
Inference models
These OpenAI models also run through the Inference Gateway on your Zero Runtime auth token, with no OpenAI API key. Pass the model id to the same class imported fromzeroruntime.inference (Python) or @zeroruntime/js-sdk/inference (Node JS).