In rasa_core 0.11.3 --interactive CLI can not use

rasa-core

(Kirinrin) #1

I use this interactive in terminal

MacBook-Pro:rasa-all-in-one Kirinrin$ python3 -m rasa_core.run \

    --interactive -d models/xinhehui/dialogue \
    --stories-out stories_interactive.md \
    -u models/xinhehui/model_20180904-174643

response an error

/anaconda3/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.5 of module ‘tensorflow.python.framework.fast_tensor_util’ does not match runtime version 3.6 return f(*args, **kwds) /anaconda3/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type. from ._conv import register_converters as _register_converters usage: run.py [-h] -d CORE [-u NLU] [-p PORT] [–auth_token AUTH_TOKEN] [–cors [CORS [CORS …]]] [-o LOG_FILE] [–credentials CREDENTIALS] [–endpoints ENDPOINTS] [-c {cmdline,facebook,slack,telegram,mattermost,twilio,rasa,botframework,rocketchat,callback,rest}] [–enable_api] [-v] [-vv] [–quiet] run.py: error: unrecognized arguments: --interactive --stories-out stories_interactive.md


(Akela Drissner) #2

Yeah sorry we haven’t pushed out the fixed docs yet, please refer to the command here: https://github.com/RasaHQ/rasa_core/blob/master/docs/interactive_learning.rst


(Sandeep Shelke) #3

I tried as per the new doc shared but looks something interactive is broken

(base) D:\prayog\hackathon\rss_bot2>python -m rasa_core.run --online -d models/dialogue -s stories_interactive.md -u models/default/nlu
usage: run.py [-h] -d CORE [-u NLU] [-p PORT] [--auth_token AUTH_TOKEN]
              [--cors [CORS [CORS ...]]] [-o LOG_FILE]
              [--credentials CREDENTIALS] [--endpoints ENDPOINTS]
              [-c {cmdline,facebook,slack,telegram,mattermost,twilio,rasa,botframework,rocketchat,callback,rest}]
              [--enable_api] [-v] [-vv] [--quiet]
run.py: error: unrecognized arguments: --online -s stories_interactive.md

(Kirinrin) #4

read the doc above, It’s work. The interactive learn changed to rasa_core.train not run


(Sandeep Shelke) #6

oops that was an overlook. thanks ![:slight_smile:]