MistralAI
Instrument LLM calls made using MistralAI's SDK via the MistralAIInstrumentor
MistralAI is a leading provider for state-of-the-art LLMs. The MistralAI SDK can be instrumented using the openinference-instrumentation-mistralai
package.
Launch Phoenix
Sign up for Phoenix:
Sign up for an Arize Phoenix account at https://app.phoenix.arize.com/login
Install packages:
Set your Phoenix endpoint and API Key:
Your Phoenix API key can be found on the Keys section of your dashboard.
Install
Setup
Set the MISTRAL_API_KEY
environment variable to authenticate calls made using the SDK.
Connect to your Phoenix instance using the register function.
Run Mistral
Observe
Now that you have tracing setup, all invocations of Mistral (completions, chat completions, embeddings) will be streamed to your running Phoenix for observability and evaluation.
Resources
Last updated
Was this helpful?