Could we use to train and run rasa nlu only using python api in rasa 3.x?
Hi @hanifabd , Is this what you are looking for?
If not, can you provide more details to your question?
I see, it is working. thank you. i want to ask something. does it work with python 3.9 or 3.10? i have tried with google colab but i get this error message
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-8-940e928f785e> in <cell line: 2>()
1 #python3
----> 2 from rasa.core.agent import Agent
3 import asyncio
4 import json
5
3 frames
/usr/local/lib/python3.10/dist-packages/rasa/shared/utils/validation.py in <module>
4
5 from packaging import version
----> 6 from packaging.version import LegacyVersion
7 from pykwalify.errors import SchemaError
8
ImportError: cannot import name 'LegacyVersion' from 'packaging.version' (/usr/local/lib/python3.10/dist-packages/packaging/version.py)
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------
1 Like