I intend to use OpenAI package within my custom actions but Rasa-pro has its requirements set to a very old version, and I am wondering if me updating this package will break any functionality.
rasa-pro 3.8.7 requires openai<0.29.0,>=0.28.1, but you have openai 1.35.9 which is incompatible.
Correct, you might also consider building your custom actions into a docker image to isolate the environments. You can find instructions for this here.
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?