I saw a post mentioning people faced an error when connecting to telegram about /start where they solved it by adding a start intent. I faced that problem, but I solved it using intent. However, the problem below shows error on ‘h’ and not 'start, I notice its similar error, so I tried adding an intent with the examples of value “h”. But it doesn’t work.
Below is the error message
@AhChing11 Hello, Can I ask why you are using " " double quotes in the examples ? i.e “help” or “problem” etc please ref this link Rasa Playground and even remove ‘h’ and try again.
@ChrisRahme Okay I that stakeoverflow info is really helpful, thank you. However, i tried all 4 methods where i use “/h” ‘/h’ /h h as an example and then input use the input /h after training the model every time I make the changes to nlu.yml. It still shows me ValueError: 'h' is not in list. At the same time i also tried /help on all 4 times, and I get a reply every time.
This is a screenshot of the result and the nlu.yml examples I’ve inserted
@nik202 /help and help input both are working in the CLI. I want to use h /h and /help because when i connect to Telegram, it shows the error similar to the one I’ve screenshot above, and it is also similar to the problem other people faced when they first connect to Telegram which is the “/start” problem. So based on the solution provided by the other thread on solving the “/start” problem, they said the simplest way is to add an start intent, so I figured, since it is a similar problem but this time is “h”, so I tried using intent to solve this issue. Yesterday it failed to work.
@AhChing11 No worries mate, please close this thread as marking the solution for others. Happy to help you and good luck and keep safe! I sometimes lucky also
@nik202 ok the problem comes out again XD. Telegram is working all fine, response are working, but when i type /h, the error occur. I tried re run by stopping and running rasa run again, doesn’t work. I then tried delete old models, and retrain the model, try rasa run again, still doesn’t work. It seems to be keep sending the /h to the server, and when it detect /h, it crashes. Anyway to solve this? Below is my config.yml file
@AhChing11 strange, please check this on first rasa open source using shell or rasa x and then try using on Telegram.
@AhChing11 share me the error screenshot for the same.
@nik202 It’s weird, but using the same solution for the problem “/start” people faced when first integrate on telegram where they create a start intent, this time i created a “h” intent, with a few examples, now it works. The intent I created is shown below.
@nik202 ahh yess, I included that code in my domain.yml as well. Now it’s working. Hmm… it’s not the right way, but i can’t find any other solutions :’), so I used /start error’s solution.