Where to put py file to import in Action server using import

Hi,

My actions.py is in project folder. If i have to import weather.py in actions.py, where should i keep it in folder structure? Currently i kept it in same folder as actions.py and giving following code to import Weather function from weather.py, but it says module Weather not found -

from weather import Weather

Do i need to keep weather.py in some other directly so that it can find it.

Please help. Thanks and Regards Pooja

Hey @poojavi, without knowing the details of your setup, I’ll just point you to the rasa-demo assistant where this kind of pattern works alright. Maybe it’ll help you as well :slight_smile: