Setup
Set your Mistral AI API key in the worker environment. Generate a key from the Mistral console:The variable is
MISTRALAI_API_KEY, not the MISTRAL_API_KEY that Mistral’s own SDK reads.Usage
Import the plugin and pass it to the pipeline’sstt slot.
Parameters
Constructor parameters forMistralAISTT. The Python and Node JS SDKs share these field names.
turn_detection keys
turn_detection takes a MistralAITurnDetectionConfig or a plain dict with the same keys.
Import paths
Transcribed text passes to the LLM once turn detection decides the caller has finished speaking.