Hi, I followed this link https://rasa.com/docs/rasa/api/jupyter-notebooks/ for creating a chatbot .
from rasa.jupyter import chat
chat(model_path)
I encountered an error :
NameError Traceback (most recent call last) in from rasa.jupyter import chat chat(model_path)
~/anaconda3_501/lib/python3.6/site-packages/rasa/jupyter.py in chat(model_path, agent, interpreter) 32 33 unpacked = model.get_model(model_path) -> 34 agent = create_agent(unpacked) 35 36 elif agent and interpreter:
~/anaconda3_501/lib/python3.6/site-packages/rasa/run.py in create_agent(model, endpoints) 77 ) 78 -> 79 return Agent.load( 80 model, 81 generator=_endpoints.nlg,
NameError: name ‘Agent’ is not defined
Rasa version - 1.4.3
No agent related information is defined in the jupyter notebook documentation What will be the solution? Thanks in advance!