Hello, I am building chatbot to handle financial queries and this is the problem I am encountering:
User : How to open an account? Intent : Demat, Entity, Both
this is how i have declared ###multiintent stories### multiintent stories### multiintent stories
- story: User inquires about opening Demat and trading accounts
steps:
- intent: inquire_demat_account_opening+inquire_trading_account_opening
- action: utter_ask_account_type
- intent: inquire_demat_account_opening
entities:
- account_type: demat
- action: utter_ask_demat_account_opening
- intent: inquire_trading_account_opening
entities:
- account_type: trading
- action: utter_ask_trading_account_opening
- intent: inquire_demat_account_opening+inquire_trading_account_opening
entities:
- account_type: both
- action: utter_ask_demat_account_opening
- action: utter_a
- sk_trading_account_opening
and this is the slots in domain.yml: slots: account_type: type: text influence_conversation: false mappings: - type: from_entity entity: account_type
this is how i have declared my intent in nlu.yml
- intent: specify_account_type
examples: |
- I want to open a Demat account
- I want to open a Trading account
- Can you help me open both Demat and trading?
- both accounts
How to solve this because I keep getting error