Endpoints giving error

this command giving me error python -m rasa_core.run --endpoints endpoints.yml

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,socketio}] [–enable_api] [–jwt_secret JWT_SECRET] [–jwt_method JWT_METHOD] [-v] [-vv] [–quiet] run.py: error: the following arguments are required: -d/–core

which version of rasa core are you using?

hey @pkumar you haven’t passed the required parameters, command is : $ python -m rasa_core.run
–enable_api -d models/dialogue
-u models/nlu/current
-o out.log

1 Like

THanks buddy

Welcome bro. :wink:

hi bro my custom action is not working?? i am not getting any thing

from rasa_core_sdk import Action from rasa_core_sdk.events import SlotSet

class Action_purposeAction): def name(self): # type: () -> Text return “utter_purpose”

def run(self, dispatcher, tracker, domain):

  return [dispatcher.utter_message("pankaj")]

i defined endpoints in yml

action_endpoint: url : http://localhost:8080/smartoffice-web/app/chat/ins/data1"