Hello guys,
I have developed chatbot using Rasa form and it is working fine. Chatbot asks questions to user and user gives answer. Now I have 2 queries and need solutions for how to tackle:
Chatbot asks questions - First “What is your name?” and Second "What is your partner’s name? "… but since training data for both questions are same so when user enters answer for first question, rasa automatically assignes same answer for 2nd question. How can I solve this in Forms? Note: I am taking 2 separate entities and separate slots for both questions.
Is there any way where I can directly fill the slot with whatever user has entered?
Eg. Bot asks : where do you live?
User replies: paofapod
now my model is not trained for answer “paofapod”…so I directly want ti fill “location” slot with user answer.
Hi @Rushi_B, I think you might be able to solve both problems with the slot mapping (see our documentation).
(1) I assume you currently have something entities like name and partner_name and slots with the same name. I would change this. I would just use one entity name and then have two different slots person_name and partner_name. You can then use the following slot mapping to fill the slots:
Thank u for quick reply.
Solution for 2nd question is working at most extent…but for first it is not…I did as u suggested kept single entity “name” and created two slots - “user_name” and “partners_name” but it is still not able to distinguish between two slots.
i’m almost facing the same issue , i have two different intent one is identity_verification and another one is balance . now i have ‘yes’ as training data in both the intents . Now my model is getting confused whenever it’s receiving response ‘yes’ in between these two intents.