SAPConversationalAI icon indicating copy to clipboard operation
SAPConversationalAI copied to clipboard

Is there a limit of expressions I can teach my bot?

Open SofiaPe opened this issue 5 years ago • 6 comments

Hi, I already have about 40 intents with over 50 expressions each for a very big bot I am building. It has been working fine until today I tried to create a couple more expressions on the help intent. I manually placed them in the intent, yet when I try them on the test window, the bot does not understand them. Is there a limit of permited expressions? or What can I do?

ayuda

I even tried assigning them through the monitor. Did not work.

SofiaPe avatar Dec 03 '18 20:12 SofiaPe

Hello,

There is no limit in your intents and expressions. Our guidelines are:

  • Always try to keep your intents balances (don't have 1 intent with 10 sentences and all the others with 50 sentences)
  • At least 30 expressions by intents
  • At least 5 intents
  • You can easily have a bot with 150 intents and between 30 and 100 expressions by intent
  • Try to avoid duplicate sentences in your intents, and always have sentences constructed differently: different vocabulary and grammatical construction.

Do you still have your classification problem?

janteuni avatar Dec 31 '18 09:12 janteuni

Hi, I still have the same problem sometimes. Some days I put in the expressions and the bot instantly picks it up, other times I have to insert it 2 or 3 times and it still doesn't understands, so I have to wait some time and try again later.

SofiaPe avatar Jan 02 '19 12:01 SofiaPe

Hi @SofiaPe, if time solves it, then I guess it means your bot is being trained. Training can easily last 15 minutes for very big bots. You can check whether your bot is training or not by looking at the "Training" button in the top right part of your screen when on a bot.

dbousque avatar Jan 02 '19 12:01 dbousque

That's the thing, it starts trainig then looks like it's done, but still doesn't works. What I mean with time is that I have to come back later and input the sentence again, then after training this second time, it works. My bot is to big, so I have too do the training manually.

SofiaPe avatar Jan 02 '19 13:01 SofiaPe

Hi @SofiaPe

Do you still have an issue or a question related to this card?

Thanks :)

Aurélie

aurelie-lamy avatar Feb 20 '19 15:02 aurelie-lamy

@aurelie-lamy Sometimes expressions don't get trained, others it works. Usually after some time has passed the expressions are learned, other times I can't make the bot understand them. Also, since the training analytics update was published this week, my bot stopped understanding expressions it had learned months ago. Here is the case I oppened for that, maybe both things are related: https://github.com/SAPConversationalAI/SAPConversationalAI/issues/141#issue-411660496

SofiaPe avatar Feb 20 '19 20:02 SofiaPe