@Shreya You mean this scenario
Bot: Welcome! I am your technical assistant!
[ ------ general conversation as based on stories] then user asked
User: Where is your company? OR What is your company [Rasa] entity Located?
Bot: Alright, Which company you are looking at, please tell me the company name?
User: Rasa or I am looking for Rasa Company
- “Where is your company” – can also mean the user is asking about your company address.
- If the user asked “Where is your company”, you can ask "Alright. Which Company you want to know ? please tell me the company name?
- This you can create the Intent company with training examples (without company name) and response in domain file about your current company location (on the website your chatbot is running, address, headquarters etc etc) only one response in this case.
- This you can create the Intent company_name with a training example while using entity extraction or slot or custom actions.
Some resources on entity, slots, forms and custom actions : https://youtu.be/HCmK_INWadI |
https://youtu.be/U3an88fjFRc | https://youtu.be/rvHg7N8ux2I
Note: If you have a lot of company names then the approach will be different. Try archived your goal in step by step process.