Skip to main content
AssemblyAI is a speech-to-text plugin. It transcribes the caller’s audio into text for the LLM, using AssemblyAI’s universal streaming model with built-in end-of-turn detection.

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’s stt slot.

Parameters

Constructor parameters for the Python SDK (AssemblyAISTT). The JavaScript and Go SDKs expose equivalent options where supported, in their idiomatic form (camelCase / STTOptions struct).

Import paths

Transcribed text passes to the LLM once turn detection decides the caller has finished speaking.