Not loading Mistral AI because it is not installed. Install it with pip install mistralai.
Steps Taken:
I have installed the mistralai package, and confirmed the installation with the following command:
❯ pip show mistralai
Name: mistralai
Version: 1.0.1
Summary: Python Client SDK for the Mistral AI API.
Location: /Users/developer/ai/playdspy/.venv/lib/python3.12/site-packages
Issue:
Despite the package being installed, dspy does not recognize it and throws an error indicating that mistralai is not installed.
Question:
Is there something I am missing or doing incorrectly? How can I resolve this issue?
Hi all
I am trying to use the LM Mistral in the dspy library with the following code:
However, I encounter the following error:
Not loading Mistral AI because it is not installed. Install it with pip install mistralai. Steps Taken:
I have installed the
mistralai
package, and confirmed the installation with the following command:Despite the package being installed, dspy does not recognize it and throws an error indicating that mistralai is not installed.
Question:
Is there something I am missing or doing incorrectly? How can I resolve this issue?
Best regards