cancel
Showing results for 
Search instead for 
Did you mean: 

"matching rate" becomes 1.0 at any time and the error message is not displayed (Conversational AI)

kazushioishi
Explorer
0 Kudos

In SAP Conversational AI, whether the community edition or the enterprise edition, sometimes all input sentences are considered to match the intents totally which I have created, no matter how different from the sentences registered in the intents as the attached screenshots. As a result, the error message is not displayed.

I would really appreciate it if you tell me how to solve this problem.


The procedure is as follows:

1.creating a new bot

What do you want your chatbot to do?→Perform Actions

predefined skills→choosing no skills

Create your bot→No Description, Topics:Jobs, Language:English

Data Policy→Non-personal, Store, Non-vulnerable

Bot visibility→Private

2.creating an intent as the screenshot screenshot1-intent.jpg

Matching strictness: 95

sentence: 会社の正式名称を教えて

※No other intents are made.

3.creating a skill(Type, Trigger) (skill-1.jpg)

Type: floating

Trigger: If @<intent name> is-present

4.setting Actions (skill-2.jpg)

Condition: If @<intent name> is-present

output:

send message>text>”ABC株式会社”

5.setting fallback (fallback.jpg)

choosing the tab Actions→setting the message ”すみません、よくわかりません。” without adding any condition

6.test (monitor.jpg)

Writing any message, no matter how different from the sentence included in the intent, the skill which is not the fallback skill is triggered.

※No skills except for the two skills created in the procedure above are created.

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

kazushioishi Please in the future close the question by accepting Stephen's answer 🙂

Accepted Solutions (1)

Accepted Solutions (1)

dtephan
Participant
0 Kudos

Hi Kazushi,

it is not visible on the attached screenshots, but I assume there is only one intent in your bot. This is a problem for the NLU model - the model is trained to match the expressions to the corresponding intent. As there are no other intents it is never trained that some input is not matching to that first intent. Therefore, it will match everything to that.

Solution is that you need at least two intents - the more the better.

Hope that helps, best regards
Stephan

kazushioishi
Explorer
0 Kudos

Dear Stephen,

There was only one intent as you said and the problem was solved when I created another intent and registered some sentences.

Thank you so much for your comment.

Kazushi Oishi

Answers (0)