Hello, I am working on a problem for a few days now and I tought I might just ask,
The chatbot I am build is dependent on the site the user is on. As an example: If the user asks: What am I supposed to do here? There needs to be a different answer if he is on the login screen or if he is in his profile configurations.
I tried solving this issue by working with stories and sending the site the user is on as a message, for example:
- story: 8G
steps:
- intent: 8G_id
- action: utter_listening
- intent: exampel_question
- action: utter_8G_exampel_question
- story: GM
steps:
- intent: GM_id
- action: utter_listening
- intent: exampel_question
- action: utter_GM_exampel_question
- story: general
- intent: exampel_question
- action: utter_exampel_question
The first intent and action were automatic and not seen by the user. To be honest, this approach worked horrible.
I then looked into sending metadata via the rest-request and using those to distinguish between the answers that need to be given.
Is there a simple solution to solve this problem?