Hello everyone, I`m new in Rasa and I have little question list.
How much examples per intent recommended? In my case, I have categories that have 370 examples, but at the same time there are categories that have only 2. Is it correct to do this? Should the number of examples be roughly the same for good results?
I have a trained model and I make some adjustments to it.
How to properly train it further, because now I just start training the model again and it takes quite a long time.
Well there is not exact thumb rule for how many examples but it should have at least 10-20 examples, which should cover all your set of variations of questions. Sometimes, unnecessary examples can load your model. Please note and its recommended that training examples should be more than 2, if you gave less than that, whilst training you will get Warning.
Well, some examples need more sets of examples and some required fewer sets of examples, so itβs perfectly fine if some have a higher examples and some low, but it will be good to maintain 10-20 on the safer side and better learning for the bot.
When you say made some adjustments what exactly do you mean by that? Yes, some time model train fast and some time model take a lot of time, it depends on data and resources also ( not sure on this part) But, yes model needs some time, so grab a coffee and take a walk and check the model PS: How much time your model is taking by the way.
For this please check this thread How to add link and buttons in rasa - #3 by nik202, it is a demo code for other user solutions, please customize as per your need.
Please even check the syntax, and hope you mentioned the intent: buttons, buttons1 and buttons2 in domain.yml as shown in the above-mentioned thread.
Note: In button, we normally use text one time, but you had used two times - text: "ΠΠ½ΠΎΠΏΠ°Π§ΠΊΠΈ!" | -text: ΠΠ°ΠΆΠΌΠΈ Π½Π° ΠΊΠ½ΠΎΠΏΠΊΡ
If you have any further issues with this button problem, please clear it with me.
I hope you get more clarity and hope this will solve your issue. Good Luck!
Here. remove - before buttons, chose which text you want to keep before buttons one or below title one. This will solve your issue so output for buttons will look like below
depends on the use case letβs say we take a customer care bot, there will be many intents for faq and chitchats because it has to chat with a customer about anything so make sure you think have some look at other bots online then try.
Training model
adding to @nik202 answer, training every time depends on data you give more the data more time, so give it enough to test, Then if you are a student tell your friends to test and they will give you some feedback and just add changes in them. This is known as CDD also well taught in Rasa new Tutorial series by Vincent
@tvoi-kotik No worries, You can use one story for the same. If you want that button menu should come after the greet intent or if you have other utterances then you need to create a different story for the same.
@tvoi-kotik Whenever the greet intent will be a trigger by a user such as hello, heya, hi, hola it will activate utter_greet action and then button actions. You need to experiment for the same.
Tip: Please some time you need to delete the older trained model and re-train the model if you think your code is 100 % correct.