Yellow messenger triggering random journeys

I am building a bot in YellowMessenger platform, and I have functions processing user messages and then decide which journey to go to (using condition nodes linked to trigger journey steps).
However I keep running into the issue that the prediction mechanism intersects user input and triggers a random journey.
For example a user inputs an email and main menu journey gets triggered. The word “Register” triggers a journey from a different bot all together.
What can I do?

1 Like

It seems like there’s an issue with the bot training. Can you please generate and share the Training Quality Report?

I copy pasted the content below. I tried to hard code some intents such as “yes” and “no” to circle back to the journey, but I can’t do that for email addresses for example (they trigger main menu for some reason)

Journey 1/Utterance 1.x,Journey 2/Utterance 2.x,Similarity(in %),Utterance/Journey

Utterance 1,Utterance 2,Journey,Similarity(in %)
yes,Yes,askyesorno,100.00002384185791
no,No,askyesorno,100.0
,

1 Like

Hey Vadim,
Thanks for sharing the report but it’s not readable here. Can you please share a screenshot of that report instead?

There is not much information in that report…
This problem keep happening very frequently, for example now I have quickReplies defined and displayed from a function. The text key is c1, c2 (just for testing purposes). However everytime the user selects one a completely different journey gets triggered, and that journey has no utterances defined.

What can I do to overcome this?

This is the screenshot from the report, it’s pretty much empty. I can only embed one picture per post

Here is the other one

Here is the log

9 minutes ago		 [12333721409750122386190692229_9lOfN7d305nmA7CqjppdX][debug] Executing Step[waitforquestionselection]
9 minutes ago		 [12333721409750122386190692229_9lOfN7d305nmA7CqjppdX][debug] Executing prompts V1 for step [waitforquestionselection] journey [vadimfaqtest]
9 minutes ago		 [12333721409750122386190692229_9lOfN7d305nmA7CqjppdX][info] Finished Executution for Async sources
9 minutes ago		 ------- ------- ------- ------- ------- -------
9 minutes ago		 [12333721409750122386190692229_YIPmpl51i-bWpU5JyWCzH][info] {
9 minutes ago		     "message": "c2",
9 minutes ago		     "interactionType": "quick-replies",
9 minutes ago		     "richMessage": {
9 minutes ago		         "text": "c2",
9 minutes ago		         "title": "Category 2"
9 minutes ago		     },
9 minutes ago		     "medium": "message"
9 minutes ago		 } : received request in executor receive
9 minutes ago		 firsttimeusernotyellowmessenger -x1623845046295- 12333721409750122386190692229
9 minutes ago		 [12333721409750122386190692229_YIPmpl51i-bWpU5JyWCzH][info] sending response back for Async sources
9 minutes ago		 [12333721409750122386190692229_YIPmpl51i-bWpU5JyWCzH][info] key x1623845046295:yellowmessenger:12333721409750122386190692229:paused not found in memory : Bot Un-Paused
9 minutes ago		 Memory Prefix :: gstore_x1623845046295_
9 minutes ago		 Memory Prefix :: vstore_x1623845046295_12333721409750122386190692229_
9 minutes ago		 Memory Prefix :: vstore_x1623845046295_12333721409750122386190692229_
9 minutes ago		 [12333721409750122386190692229_YIPmpl51i-bWpU5JyWCzH][debug] Executing APP Start......
9 minutes ago		 [12333721409750122386190692229_YIPmpl51i-bWpU5JyWCzH][debug] Context Loaded and executing Prediction
9 minutes ago		 [12333721409750122386190692229_YIPmpl51i-bWpU5JyWCzH][debug] Executing prediction on message [c2]
9 minutes ago		 [12333721409750122386190692229_YIPmpl51i-bWpU5JyWCzH][debug] Executing Prediction for message [c2]
9 minutes ago		 Entities detected {}
9 minutes ago		 [12333721409750122386190692229_YIPmpl51i-bWpU5JyWCzH][debug] Executed prediction with Intent [askyesorno]
9 minutes ago		 {"event":"user-message","bot_id":"x1623845046295","message":"c2","messageType":"quick-replies","step":"waitforquestionselection","journey":"vadimfaqtest","prediction":{"core":false,"intents":{"askyesorno":0.998},"trained_intent_version":23,"sentiment":"neutral","text":"c2","language_detected":"en","parser":{"noun_chunks":[],"lemmas":["c2"],"sentences":["c2"],"tokens":[{"text":"c2","pos":"X","lemma":"c2"}],"entities":[],"other_keywords":[{"text":"c2","pos":"X","lemma":"c2"}],"parsed_tree":[{"head_pos":101,"dep":"ROOT","text":"c2","pos":"X","head_text":"c2","children":[]}],"lemma_list":[{"lemma":"c2","pos":"X","text":"c2"}]},"sentiment_confidence":{"neg":0,"neu":1,"pos":0,"compound":0},"confidence":0.998,"global_entities":[],"entities":{},"synonym_detected":false,"numbers":[{"text":"2","value":2}],"domain_model":{},"intent":"askyesorno","global_model":{},"response":{},"feature_type":"use"},"sessionId":"6177a98458d2a100011c1840","source":"yellowmessenger","uid":"12333721409750122386190692229","messageId":"6177af6c47086000012ac5ac","f_t":"2021-10-26T07:34:04.278Z","f_s":"executor","f_l":"events"}
9 minutes ago		 [12333721409750122386190692229_YIPmpl51i-bWpU5JyWCzH][debug] Switching to Journey [askyesorno]
9 minutes ago		 [12333721409750122386190692229_YIPmpl51i-bWpU5JyWCzH][debug] 682: Assigning intent to askyesorno
9 minutes ago		 [12333721409750122386190692229_YIPmpl51i-bWpU5JyWCzH][debug] Fetching Journey Details for [AskYesOrNo]
9 minutes ago		 [12333721409750122386190692229_YIPmpl51i-bWpU5JyWCzH][debug] Finding Next Step to Execute
9 minutes ago		 [12333721409750122386190692229_YIPmpl51i-bWpU5JyWCzH][debug] Executing Step[askquestionlist]
9 minutes ago		 [12333721409750122386190692229_YIPmpl51i-bWpU5JyWCzH][debug] Executing prompts V1 for step [askquestionlist] journey [askyesorno]

and the preview of the journey for reference

Same thing happens when I input any number when selecting faq question: