No module named rasa_core_sdk

from rasa_core_sdk.events import UserUtteranceReverted ModuleNotFoundError: No module named ‘rasa_core_sdk’

when i tried to use from rasa_core_sdk.events import UserUtteranceReverted in actions file. Any idea how to solve?

You’re probably looking at example code from the old sdk. The new calls are:

from rasa_sdk.events import UserUtteranceReverted
2 Likes

Thanks a lot! This worked for me