Skip to main content
Mistral AI is an LLM plugin. It takes the transcribed conversation and generates the reply with Mistral’s chat models, with support for tool calling.

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

Parameters

Constructor parameters for MistralAILLM. The Python and Node JS SDKs share these field names.

Import paths

See the plugins overview for how the LLM slot fits into the rest of the pipeline.