Setup
Set your AssemblyAI API key in the worker environment. Generate a key from the AssemblyAI dashboard:The Python SDK requires
scipy for audio resampling. Install it with pip install scipy
if it isn’t already present.Usage
Import the plugin and pass it to the pipeline’sstt slot.
Parameters
Constructor parameters forAssemblyAISTT. 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 AssemblyAI models also run through the Inference Gateway on your Zero Runtime auth token, with no AssemblyAI API key. Pass the model id to the same class imported fromzeroruntime.inference (Python) or @zeroruntime/js-sdk/inference (Node JS).