OpenAI package versioning

Hi everyone,

we have an issue which is most likely the same. We want to call Mistral AI model from one point in the action server. However we are not able to install the mistral package along with rasa because there is a dependency issue in the pydantic package (rasa needs pydantic<1.10.10 and mistral pydantic>2.X). So my first question would be, why does rasa need such an old version, but this question doesn’t solve the problem.

So my idea is to isolate mistral by wrapping it into a REST-API like FastAPI or use a Docker solution. What would you suggest? Are there simpler solutions?

Thanks in advance!