How to let bot start the conversation

Hi @JiteshGaikwad I’m not able to set SlotSet if i use UserUtteranceReverted()

For Ex: return [SlotSet(‘admin’, False),SlotSet(‘firstName’, first_name),SlotSet(‘lastName’, last_name),SlotSet(‘userId’, user_id),SlotSet(‘role’, user_role),UserUtteranceReverted()]

Any help is much apperciated

Sir, @JiteshGaikwad whenever i’m sending a message it is not auto focusing the text area and always need to click in the text area how to get rid of this?

Hello, @JiteshGaikwad Sir,

How do i get the conversation id of the conversation ?

Please help!

Thanks &Regards,

Vaidehi Deshpande

hi nice explanation and ui plz help in hyper links of chatbot before css it is working but after css and js index.html it is showing ful link hyper link

I have the below error when I run action_trigger to let the bot start the conversation in rasa 2.2.x

An unexpected error occurred. Error: ‘>’ not supported between instances of ‘str’ and ‘float’

Screenshot from 2021-02-28 14-30-15

Could you please help me

@JiteshGaikwad Hi Jitesh,

I am also facing some issues as attached while trying to start the conversation by Bot first. I am using your “Chatbot-Widget-main” template for the same.

Rasa Version : 2.3.0 Rasa SDK Version : 2.3.1 Rasa X Version : 0.35.0 Python Version : 3.7.7 Operating System : Windows-10-10.0.19041-SP0

Please help.

Regards, Shantanu

Please suggest if you are able to crack the issue as I am also facing the same issue.

@Shaan27 Recently I have updated the code repo for letting the bot start the conversation, you are facing the above issue because the endpoint which you are trying to call an API that has been deprecated in version 2.x, you can check the below line of code for the latest changes. In Rasa 2.X, If you want the bot to start the conversation first, I have implemented it using the custom actions. you can check the below ref. API spec page for the same

https://rasa.com/docs/rasa/pages/action-server-api

2 Likes

I used this Chatbot widget GitHub - JiteshGaikwad/Chatbot-Widget at 210f7922e19b7b9953fb2e5730f5f6f4d9c7fd1f

In the script.js, just try to enable the actionTrigger depending on the rasa version you are using , then run
rasa run -m models --enable-api --cors “" --debug
rasa run actions --cors "

1 Like

Hi @JiteshGaikwad , I have been following your instructions to configure the bot to start the conversation. But still my bot is awaiting for the user input. What i did is… 1 - Configured Actions.py file 2- Configured CustomActionTrigger in script.js file

Attaching both files,

script.js (26.6 KB) actions.py (829 Bytes)

Is there something i am missing. Could you please help me with this.?

hey, @Banu95 did you started the action server using the below command:

rasa run actions --cors “*”

Yeah used this rasa run actions --cors “" to start action server and this for rasa run -m models --enable-api --cors "” --debug rasa server

which version of rasa are you using?

I am using Rasa: 2.3.4

can you show me the browser console logs & rasa server logs & also can you can add the contents of actions.py file here?

Rasa Server Logs:

2021-03-23 13:35:15 DEBUG rasa.cli.utils - Parameter ‘endpoints’ not set. Using default location ‘endpoints.yml’ instead.

2021-03-23 13:35:15 DEBUG rasa.cli.utils - Parameter ‘credentials’ not set. Using default location ‘credentials.yml’ instead.

2021-03-23 13:35:15 DEBUG rasa.core.utils - Available web server routes:

/conversations/<conversation_id:path>/messages POST add_message

/conversations/<conversation_id:path>/tracker/events POST append_events

/webhooks/rasa GET custom_webhook_RasaChatInput.health

/webhooks/rasa/webhook POST custom_webhook_RasaChatInput.receive

/webhooks/rest GET custom_webhook_RestInput.health

/webhooks/rest/webhook POST custom_webhook_RestInput.receive

/model/test/intents POST evaluate_intents

/model/test/stories POST evaluate_stories

/conversations/<conversation_id:path>/execute POST execute_action

/domain GET get_domain

/ GET hello

/model PUT load_model

/model/parse POST parse

/conversations/<conversation_id:path>/predict POST predict

/conversations/<conversation_id:path>/tracker/events PUT replace_events

/conversations/<conversation_id:path>/story GET retrieve_story

/conversations/<conversation_id:path>/tracker GET retrieve_tracker

/status GET status

/model/predict POST tracker_predict

/model/train POST train

/conversations/<conversation_id:path>/trigger_intent POST trigger_intent

/model DELETE unload_model

/version GET version

2021-03-23 13:35:15 INFO root - Starting Rasa server on http://localhost:5005

2021-03-23 13:35:15 DEBUG rasa.core.utils - Using the default number of Sanic workers (1).

2021-03-23 13:35:15 INFO rasa.model - Loading model models\20210323-090846.tar.gz…

2021-03-23 13:35:16 DEBUG rasa.model - Extracted model to ‘C:\Users\banug\AppData\Local\Temp\tmpk_ifpm8r’.

2021-03-23 13:35:16 DEBUG urllib3.connectionpool - Starting new HTTPS connection (1): api.segment.io:443

2021-03-23 13:35:17 DEBUG urllib3.connectionpool - https://api.segment.io:443 “POST /v1/track HTTP/1.1” 200 21

2021-03-23 13:35:17 INFO root - Enabling coroutine debugging. Loop id 1440187070976.

2021-03-23 13:35:17 INFO rasa.model - Loading model models\20210323-090846.tar.gz…

2021-03-23 13:35:17 DEBUG rasa.model - Extracted model to ‘C:\Users\banug\AppData\Local\Temp\tmp7dllze25’.

2021-03-23 13:35:17 DEBUG rasa.utils.tensorflow.models - Loading the model from C:\Users\banug\AppData\Local\Temp\tmp7dllze25\nlu\component_5_DIETClassifier.tf_model with finetune_mode=False…

2021-03-23 13:35:18 DEBUG rasa.nlu.classifiers.diet_classifier - Following metrics will be logged during training:

2021-03-23 13:35:18 DEBUG rasa.nlu.classifiers.diet_classifier - t_loss (total loss)

2021-03-23 13:35:18 DEBUG rasa.nlu.classifiers.diet_classifier - i_acc (intent acc)

2021-03-23 13:35:18 DEBUG rasa.nlu.classifiers.diet_classifier - i_loss (intent loss)

2021-03-23 13:35:19 DEBUG rasa.utils.tensorflow.models - Finished loading the model.

2021-03-23 13:35:19 DEBUG rasa.utils.tensorflow.models - Building tensorflow prediction graph…

2021-03-23 13:35:24 DEBUG rasa.utils.tensorflow.models - Finished building tensorflow prediction graph.

c:\users\banug\anaconda3\envs\rasaconda\lib\site-packages\rasa\utils\train_utils.py:451: UserWarning: constrain_similarities is set to False. It is recommended to set it to True when using cross-entropy loss. It will be set to True by default, Rasa Open Source 3.0.0 onwards.

rasa.shared.utils.io.raise_warning(

c:\users\banug\anaconda3\envs\rasaconda\lib\site-packages\rasa\utils\train_utils.py:425: UserWarning: model_confidence is set to softmax. It is recommended to try using model_confidence=linear_norm to make it easier to tune fallback thresholds.

rasa.shared.utils.io.raise_warning(

2021-03-23 13:35:24 DEBUG rasa.core.tracker_store - Connected to InMemoryTrackerStore.

2021-03-23 13:35:24 DEBUG rasa.core.lock_store - Connected to lock store ‘InMemoryLockStore’.

2021-03-23 13:35:24 DEBUG rasa.model - Extracted model to ‘C:\Users\banug\AppData\Local\Temp\tmpnygvputq’.

2021-03-23 13:35:24 DEBUG rasa.utils.tensorflow.models - Loading the model from C:\Users\banug\AppData\Local\Temp\tmpnygvputq\core\policy_1_TEDPolicy\ted_policy.tf_model with finetune_mode=False…

2021-03-23 13:35:25 DEBUG rasa.utils.tensorflow.models - Finished loading the model.

2021-03-23 13:35:25 DEBUG rasa.utils.tensorflow.models - Building tensorflow prediction graph…

2021-03-23 13:35:30 DEBUG rasa.utils.tensorflow.models - Finished building tensorflow prediction graph.

c:\users\banug\anaconda3\envs\rasaconda\lib\site-packages\rasa\core\policies\mapping_policy.py:49: FutureWarning: ‘MappingPolicy’ is deprecated and will be removed in the future. It is recommended to use the ‘RulePolicy’ instead. (will be removed in 3.0.0)

rasa.shared.utils.io.raise_deprecation_warning(

2021-03-23 13:35:30 DEBUG rasa.core.nlg.generator - Instantiated NLG to ‘TemplatedNaturalLanguageGenerator’.

2021-03-23 13:35:30 INFO root - Rasa server is up and running.

2021-03-23 13:35:39 DEBUG rasa.core.lock_store - Issuing ticket for conversation ‘4ba2f485-56ae-443d-9eb0-41144382dfd6’.

2021-03-23 13:35:39 DEBUG rasa.core.lock_store - Acquiring lock for conversation ‘4ba2f485-56ae-443d-9eb0-41144382dfd6’.

2021-03-23 13:35:39 DEBUG rasa.core.lock_store - Acquired lock for conversation ‘4ba2f485-56ae-443d-9eb0-41144382dfd6’.

2021-03-23 13:35:39 DEBUG rasa.core.tracker_store - Could not find tracker for conversation ID ‘4ba2f485-56ae-443d-9eb0-41144382dfd6’.

2021-03-23 13:35:39 DEBUG rasa.core.processor - Starting a new session for conversation ID ‘4ba2f485-56ae-443d-9eb0-41144382dfd6’.

2021-03-23 13:35:39 DEBUG rasa.core.processor - Policy prediction ended with events ‘’.

2021-03-23 13:35:39 DEBUG rasa.core.processor - Action ‘action_session_start’ ended with events ‘[<rasa.shared.core.events.SessionStarted object at 0x0000014F55636220>, ActionExecuted(action: action_listen, policy: None, confidence: None)]’.

2021-03-23 13:35:39 DEBUG rasa.core.processor - Current slot values:

    session_started_metadata: None

2021-03-23 13:35:40 DEBUG rasa.core.processor - Received user message ‘welcome’ with intent ‘{‘id’: 4799303944577008966, ‘name’: ‘welcome_msg’, ‘confidence’: 0.9999802112579346}’ and entities ‘

c:\users\banug\anaconda3\envs\rasaconda\lib\site-packages\rasa\shared\utils\io.py:93: UserWarning: Interpreter parsed an intent ‘welcome_msg’ which is not defined in the domain. Please make sure all intents are listed in the domain.

More info at Domain

2021-03-23 13:35:40 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 4 events.

2021-03-23 13:35:40 DEBUG rasa.core.policies.memoization - Current tracker state:

[state 1] user intent: welcome_msg | previous action name: action_listen

2021-03-23 13:35:40 DEBUG rasa.core.policies.memoization - There is a memorised next action ‘action_welcome_message’

2021-03-23 13:35:40 DEBUG rasa.core.policies.rule_policy - Current tracker state:

[state 1] user text: welcome | previous action name: action_listen

2021-03-23 13:35:40 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.

2021-03-23 13:35:40 DEBUG rasa.core.policies.rule_policy - Current tracker state:

[state 1] user intent: welcome_msg | previous action name: action_listen

2021-03-23 13:35:40 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.

2021-03-23 13:35:40 DEBUG rasa.core.policies.ensemble - Made prediction using user intent.

2021-03-23 13:35:40 DEBUG rasa.core.policies.ensemble - Added DefinePrevUserUtteredFeaturization(False) event.

2021-03-23 13:35:40 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_MemoizationPolicy.

2021-03-23 13:35:40 DEBUG rasa.core.processor - Predicted next action ‘action_welcome_message’ with confidence 1.00.

2021-03-23 13:35:40 DEBUG rasa.core.actions.action - Calling action endpoint to run action ‘action_welcome_message’.

2021-03-23 13:35:40 DEBUG rasa.utils.endpoints - The URL ‘http://localhost:5055/webhook/’ has a trailing slash. Please make sure the target server supports trailing slashes for this endpoint.

2021-03-23 13:35:42 DEBUG rasa.core.processor - Policy prediction ended with events ‘[<rasa.shared.core.events.DefinePrevUserUtteredFeaturization object at 0x0000014F55636A30>]’.

2021-03-23 13:35:42 DEBUG rasa.core.processor - Action ‘action_welcome_message’ ended with events ‘[BotUttered(‘Welcome to Rasa Chat’, {“elements”: null, “quick_replies”: null, “buttons”: null, “attachment”: null, “image”: null, “custom”: null}, {}, 1616486742.1606255), <rasa.shared.core.events.UserUtteranceReverted object at 0x0000014F598AD850>]’.

2021-03-23 13:35:42 DEBUG rasa.core.processor - Current slot values:

    session_started_metadata: None

2021-03-23 13:35:42 DEBUG rasa.core.processor - Predicted next action ‘action_listen’ with confidence 1.00.

2021-03-23 13:35:42 DEBUG rasa.core.processor - Policy prediction ended with events ‘’.

2021-03-23 13:35:42 DEBUG rasa.core.processor - Action ‘action_listen’ ended with events ‘’.

2021-03-23 13:35:42 DEBUG rasa.core.lock_store - Deleted lock for conversation ‘4ba2f485-56ae-443d-9eb0-41144382dfd6’.

2021-03-23 13:36:09 DEBUG rasa.core.lock_store - Issuing ticket for conversation ‘4ba2f485-56ae-443d-9eb0-41144382dfd6’.

2021-03-23 13:36:09 DEBUG rasa.core.lock_store - Acquiring lock for conversation ‘4ba2f485-56ae-443d-9eb0-41144382dfd6’.

2021-03-23 13:36:09 DEBUG rasa.core.lock_store - Acquired lock for conversation ‘4ba2f485-56ae-443d-9eb0-41144382dfd6’.

2021-03-23 13:36:09 DEBUG rasa.core.tracker_store - Recreating tracker for id ‘4ba2f485-56ae-443d-9eb0-41144382dfd6’

2021-03-23 13:36:09 DEBUG rasa.core.processor - Received user message ‘hi’ with intent ‘{‘id’: -1322965128742587521, ‘name’: ‘greet’, ‘confidence’: 0.9999854564666748}’ and entities ‘

2021-03-23 13:36:09 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 10 events.

2021-03-23 13:36:09 DEBUG rasa.core.policies.memoization - Current tracker state:

[state 1] user intent: greet | previous action name: action_listen

2021-03-23 13:36:09 DEBUG rasa.core.policies.memoization - There is no memorised next action

2021-03-23 13:36:09 DEBUG rasa.core.policies.rule_policy - Current tracker state:

[state 1] user text: hi | previous action name: action_listen

2021-03-23 13:36:09 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.

2021-03-23 13:36:09 DEBUG rasa.core.policies.rule_policy - Current tracker state:

[state 1] user intent: greet | previous action name: action_listen

2021-03-23 13:36:09 DEBUG rasa.core.policies.rule_policy - There is a rule for the next action ‘utter_welcome_message’.

2021-03-23 13:36:09 DEBUG rasa.core.policies.ensemble - Made prediction using user intent.

2021-03-23 13:36:09 DEBUG rasa.core.policies.ensemble - Added DefinePrevUserUtteredFeaturization(False) event.

2021-03-23 13:36:09 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_3_RulePolicy.

2021-03-23 13:36:09 DEBUG rasa.core.processor - Predicted next action ‘utter_welcome_message’ with confidence 1.00.

2021-03-23 13:36:09 DEBUG rasa.core.processor - Policy prediction ended with events ‘[<rasa.shared.core.events.DefinePrevUserUtteredFeaturization object at 0x0000014F55637D00>]’.

2021-03-23 13:36:09 DEBUG rasa.core.processor - Action ‘utter_welcome_message’ ended with events ‘[BotUttered(‘Hi, Welcome to Insights Intelligence Bot, I am here to help you’, {“elements”: null, “quick_replies”: null, “buttons”: null, “attachment”: null, “image”: null, “custom”: null}, {“template_name”: “utter_welcome_message”}, 1616486769.5332313)]’.

2021-03-23 13:36:09 DEBUG rasa.core.policies.memoization - Current tracker state:

[state 1] user intent: greet | previous action name: action_listen

[state 2] user intent: greet | previous action name: utter_welcome_message

2021-03-23 13:36:09 DEBUG rasa.core.policies.memoization - There is no memorised next action

2021-03-23 13:36:09 DEBUG rasa.core.policies.mapping_policy - There is no mapped action for the predicted intent, ‘greet’.

2021-03-23 13:36:09 DEBUG rasa.core.policies.rule_policy - Current tracker state:

[state 1] user intent: greet | previous action name: action_listen

[state 2] user intent: greet | previous action name: utter_welcome_message

2021-03-23 13:36:09 DEBUG rasa.core.policies.rule_policy - There is a rule for the next action ‘utter_select’.

2021-03-23 13:36:09 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_3_RulePolicy.

2021-03-23 13:36:09 DEBUG rasa.core.processor - Predicted next action ‘utter_select’ with confidence 1.00.

2021-03-23 13:36:09 DEBUG rasa.core.processor - Policy prediction ended with events ‘’.

2021-03-23 13:36:09 DEBUG rasa.core.processor - Action ‘utter_select’ ended with events ‘[BotUttered(‘Please, let me know which topic you are interested in knowing more about:’, {“elements”: null, “quick_replies”: null, “buttons”: [{“title”: “Update/Append Column”, “payload”: “/column_update”}, {“title”: “Update/Append Row”, “payload”: “/row_update”}, {“title”: “Download Data”, “payload”: “/download_data”}, {“title”: “Delete Assessment”, “payload”: “/delete_assessment”}], “attachment”: null, “image”: null, “custom”: null}, {“template_name”: “utter_select”}, 1616486769.5512207)]’.

2021-03-23 13:36:09 DEBUG rasa.core.policies.memoization - Current tracker state:

[state 1] user intent: greet | previous action name: action_listen

[state 2] user intent: greet | previous action name: utter_welcome_message

[state 3] user intent: greet | previous action name: utter_select

2021-03-23 13:36:09 DEBUG rasa.core.policies.memoization - There is no memorised next action

2021-03-23 13:36:09 DEBUG rasa.core.policies.mapping_policy - There is no mapped action for the predicted intent, ‘greet’.

2021-03-23 13:36:09 DEBUG rasa.core.policies.rule_policy - Current tracker state:

[state 1] user intent: greet | previous action name: action_listen

[state 2] user intent: greet | previous action name: utter_welcome_message

[state 3] user intent: greet | previous action name: utter_select

2021-03-23 13:36:09 DEBUG rasa.core.policies.rule_policy - There is a rule for the next action ‘action_listen’.

2021-03-23 13:36:09 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_3_RulePolicy.

2021-03-23 13:36:09 DEBUG rasa.core.processor - Predicted next action ‘action_listen’ with confidence 1.00.

2021-03-23 13:36:09 DEBUG rasa.core.processor - Policy prediction ended with events ‘’.

2021-03-23 13:36:09 DEBUG rasa.core.processor - Action ‘action_listen’ ended with events ‘’.

2021-03-23 13:36:09 DEBUG rasa.core.lock_store - Deleted lock for conversation ‘4ba2f485-56ae-443d-9eb0-41144382dfd6’.

Browser Console Logs:

Failed to load resource: the server responded with a status of 404 (Not Found)

script.js:709 Response from Rasa: Array(1)0: recipient_id: “4ba2f485-56ae-443d-9eb0-41144382dfd6”

text: “Welcome to Rasa Chat”

proto: Object

constructor: ƒ Object()

hasOwnProperty: ƒ hasOwnProperty()

isPrototypeOf: ƒ isPrototypeOf()

propertyIsEnumerable: ƒ propertyIsEnumerable()

toLocaleString: ƒ toLocaleString()

toString: ƒ toString()

valueOf: ƒ valueOf()

defineGetter: ƒ defineGetter()

defineSetter: ƒ defineSetter()

lookupGetter: ƒ lookupGetter()

lookupSetter: ƒ lookupSetter()

get proto: ƒ proto()

set proto: ƒ proto()

length: 1

proto: concat: ƒ concat()

constructor: ƒ Array()

copyWithin: ƒ copyWithin()

entries: ƒ entries()

every: ƒ every()

fill: ƒ fill()

filter: ƒ filter()

find: ƒ find()

findIndex: ƒ findIndex()

flat: ƒ flat()

flatMap: ƒ flatMap()

forEach: ƒ forEach()

includes: ƒ includes()

indexOf: ƒ indexOf()

join: ƒ join()

keys: ƒ keys()

lastIndexOf: ƒ lastIndexOf()

length: 0

map: ƒ map()

pop: ƒ pop()

push: ƒ push()

reduce: ƒ reduce()

reduceRight: ƒ reduceRight()

reverse: ƒ reverse()

shift: ƒ shift()

slice: ƒ slice()

some: ƒ some()

sort: ƒ sort()

splice: ƒ splice()

toLocaleString: ƒ toLocaleString()

toString: ƒ toString()

unshift: ƒ unshift()

values: ƒ values()

Symbol(Symbol.iterator): ƒ values()

Symbol(Symbol.unscopables): {copyWithin: true, entries: true, fill: true, find: true, findIndex: true, …}

proto: Object

Status: success

script.js:709 Response from Rasa: Array(2)0: recipient_id:

"4ba2f485-56ae-443d-9eb0-41144382dfd6"text: "Hi, Welcome to Insights Intelligence Bot, I am here to help you"proto: Object

proto:

constructor: ƒ Object()

hasOwnProperty: ƒ hasOwnProperty()

isPrototypeOf: ƒ isPrototypeOf()

propertyIsEnumerable: ƒ propertyIsEnumerable()

toLocaleString: ƒ toLocaleString()

toString: ƒ toString()

valueOf: ƒ valueOf()

defineGetter: ƒ defineGetter()

defineSetter: ƒ defineSetter()

lookupGetter: ƒ lookupGetter()

lookupSetter: ƒ lookupSetter()

get proto: ƒ proto()

set proto: ƒ proto()

1:

buttons: Array(4)

0: {title: “Update/Append Column”, payload: “/column_update”}

1: {title: “Update/Append Row”, payload: “/row_update”}

2: {title: “Download Data”, payload: “/download_data”}

3: {title: “Delete Assessment”, payload: “/delete_assessment”}

length: 4

proto: Array(0)

concat: ƒ concat()

constructor: ƒ Array()

copyWithin: ƒ copyWithin()

entries: ƒ entries()

every: ƒ every()

fill: ƒ fill()

filter: ƒ filter()

find: ƒ find()

findIndex: ƒ findIndex()

flat: ƒ flat()

flatMap: ƒ flatMap()

forEach: ƒ forEach()

includes: ƒ includes()

indexOf: ƒ indexOf()

join: ƒ join()

keys: ƒ keys()

lastIndexOf: ƒ lastIndexOf()

length: 0

map: ƒ map()

pop: ƒ pop()

push: ƒ push()

reduce: ƒ reduce()

reduceRight: ƒ reduceRight()

reverse: ƒ reverse()

shift: ƒ shift()

slice: ƒ slice()

some: ƒ some()

sort: ƒ sort()

splice: ƒ splice()

toLocaleString: ƒ toLocaleString()

toString: ƒ toString()

unshift: ƒ unshift()

values: ƒ values()

Symbol(Symbol.iterator): ƒ values()

Symbol(Symbol.unscopables): {copyWithin: true, entries: true, fill: true, find: true, findIndex: true, …}

proto: Object

recipient_id: "4ba2f485-56ae-443d-9eb0-41144382dfd6"text: "Please, let me know which topic you are interested in knowing more about:

proto:

constructor: ƒ Object()

hasOwnProperty: ƒ hasOwnProperty()

isPrototypeOf: ƒ isPrototypeOf()

propertyIsEnumerable: ƒ propertyIsEnumerable()

toLocaleString: ƒ toLocaleString()

toString: ƒ toString()

valueOf: ƒ valueOf()

defineGetter: ƒ defineGetter()

defineSetter: ƒ defineSetter()

lookupGetter: ƒ lookupGetter()

lookupSetter: ƒ lookupSetter()

get proto: ƒ proto()

set proto: ƒ proto()

length: 2

proto: Array(0)

concat: ƒ concat()

constructor: ƒ Array()

copyWithin: ƒ copyWithin()

entries: ƒ entries()

every: ƒ every()

fill: ƒ fill()

filter: ƒ filter()

find: ƒ find()

findIndex: ƒ findIndex()

flat: ƒ flat()

flatMap: ƒ flatMap()

forEach: ƒ forEach()

includes: ƒ includes()

indexOf: ƒ indexOf()

join: ƒ join()

keys: ƒ keys()

lastIndexOf: ƒ lastIndexOf()

length: 0

map: ƒ map()

pop: ƒ pop()

push: ƒ push()

reduce: ƒ reduce()

reduceRight: ƒ reduceRight()

reverse: ƒ reverse()

shift: ƒ shift()

slice: ƒ slice()

some: ƒ some()

sort: ƒ sort()

splice: ƒ splice()

toLocaleString: ƒ toLocaleString()

toString: ƒ toString()

unshift: ƒ unshift()

values: ƒ values()

Symbol(Symbol.iterator): ƒ values()

Symbol(Symbol.unscopables): {copyWithin: true, entries: true, fill: true, find: true, findIndex: true, …}

proto: Object

Status: success

actions.py

This files contains your custom actions which can be used to run

custom Python code.

See this guide on how to implement these action:

Custom Actions

This is a simple example for a custom action which utters “Hello World!”

from typing import Any, Text, Dict, List

from rasa_sdk import Action, Tracker

from rasa_sdk.executor import CollectingDispatcher

from rasa_sdk.events import UserUttered, UserUtteranceReverted

class ActionWelcomeMessage(Action):

def name(self) -> Text:

    return "action_welcome_message"

def run(self, dispatcher: CollectingDispatcher,

        tracker: Tracker,

        domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:

    dispatcher.utter_message("Welcome to Rasa Chat")



    return [UserUtteranceReverted()]

BOT UI

Sorry, I am not able to trace the issue from the above logs, can you please add it in a markdown format?

Hi, Updated the logs as markdown format.

can you show me the action server logs too?

Action Server logs

(rasaconda) D:\Office Work\Insight_Bot\ChatBot>rasa run actions --cors “*”

2021-03-23 13:20:25 INFO rasa_sdk.endpoint - Starting action endpoint server…

2021-03-23 13:20:25 INFO rasa_sdk.executor - Registered function for ‘action_welcome_message’.

2021-03-23 13:20:25 INFO rasa_sdk.endpoint - Action endpoint is up and running on http://localhost:5055