phoenix icon indicating copy to clipboard operation
phoenix copied to clipboard

[BUG] MistralAIModel throws import error due to deprecated class

Open Jgilhuly opened this issue 5 months ago • 0 comments

Describe the bug Defining a MistralAIModel as an eval model throws an error. It looks like this is because mistalai.exceptions is no longer in the mistral package.

To Reproduce MRE:

from phoenix.evals import (
    MistralAIModel,
    RelevanceEvaluator,
)

relevance_evaluator = RelevanceEvaluator(MistralAIModel)

Screenshots Screenshot 2024-09-24 at 4 25 05 PM

Jgilhuly avatar Sep 24 '24 23:09 Jgilhuly