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’sllm slot.
Parameters
Constructor parameters forMistralAILLM. 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.