Issue rasa core . agent issue with. new version

import IPython
from IPython.display import clear_output
from rasa_core.agent import Agent
from rasa_core.interpreter import NaturalLanguageInterpreter
from rasa_core.utils import EndpointConfig
import time

messages = ["Hi! you can chat in this window. Type 'stop' to end the conversation."]
interpreter = NaturalLanguageInterpreter.create('models/current/nlu')
endpoint = EndpointConfig('http://localhost:5055/webhook')
agent = Agent.load('models/dialogue', interpreter=interpreter, action_endpoint = endpoint)

print("Your bot is ready to talk! Type your messages here or send 'stop'")
while True:
    a = input()
    if a == 'stop':
        break
    responses = agent.handle_text(a)
    for response in responses:
        print(response["text"])

the issue is rasacore.agent

Can you give us the error traceback you’re running into? What version was this working on and what version did you install that made it break?


UnsupportedModelError Traceback (most recent call last) in 7 8 messages = [“Hi! you can chat in this window. Type ‘stop’ to end the conversation.”] ----> 9 interpreter = NaturalLanguageInterpreter.create(‘models/current/nlu’) 10 endpoint = EndpointConfig(‘http://localhost:5055/webhook’) 11 agent = Agent.load(‘models/dialogue’, interpreter=interpreter, action_endpoint = endpoint)

~/.conda/envs/rasa/lib/python3.7/site-packages/rasa/core/interpreter.py in create(obj, endpoint) 51 return RegexInterpreter() 52 else: —> 53 return RasaNLUInterpreter(model_directory=obj) 54 55 return RasaNLUHttpInterpreter(endpoint)

~/.conda/envs/rasa/lib/python3.7/site-packages/rasa/core/interpreter.py in init(self, model_directory, config_file, lazy_init) 243 244 if not lazy_init: –> 245 self._load_interpreter() 246 else: 247 self.interpreter = None

~/.conda/envs/rasa/lib/python3.7/site-packages/rasa/core/interpreter.py in _load_interpreter(self) 263 from rasa.nlu.model import Interpreter 264 –> 265 self.interpreter = Interpreter.load(self.model_directory)

~/.conda/envs/rasa/lib/python3.7/site-packages/rasa/nlu/model.py in load(model_dir, component_builder, skip_validation) 298 model_metadata = Metadata.load(model_dir) 299 –> 300 Interpreter.ensure_model_compatibility(model_metadata) 301 return Interpreter.create(model_metadata, component_builder, skip_validation) 302

~/.conda/envs/rasa/lib/python3.7/site-packages/rasa/nlu/model.py in ensure_model_compatibility(metadata, version_to_check) 273 "an older version. " 274 “Model version: {} Instance version: {}” –> 275 “”.format(model_version, rasa.version) 276 ) 277

UnsupportedModelError: The model version is to old to be loaded by this Rasa NLU instance. Either retrain the model, or run withan older version. Model version: 0.0.0 Instance version: 1.1.4