Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error initializing MistralAI instrumentor #422

Open
Fashizel opened this issue Mar 2, 2025 · 1 comment
Open

Error initializing MistralAI instrumentor #422

Fashizel opened this issue Mar 2, 2025 · 1 comment

Comments

@Fashizel
Copy link

Fashizel commented Mar 2, 2025

Getting this error when trying to use Laminar.

2025-03-01 17:55:10,919::lmnr.openllmetry_sdk.tracing.tracing::ERROR: Error initializing MistralAI instrumentor: No module named 'mistralai.models.chat_completion' (tracing.py:615)

Even if installing like this pip install --upgrade 'lmnr[openai]'

Please advise, thanks!

@skull8888888
Copy link
Collaborator

Hey @Fashizel, I would recommend installing with 'lmnr[all]' to install all the instruments. In your example you're installing only openai instrumentation. If you want only mistral instrumentation you should use 'lmnr[mistral]'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants