Entity not recognizing correctly

I have two form actions in my story in first form action i will take group number and tax id and in second form action i will take slots that i have posted

Can you please let me know how can i check what values i have to set for memorization and keras so that all stories work

I have tried model by setting different values but for each values some of the stories are not working How can i know what is the optimum value so that all stories work perfectly fine

can u send your action code for the user_easypay1_form?

I don’t think it’s about fine-tuning hyperparams… probably something simpler you’re missing.

Hi,

just an idea from my side: If you want to avoid being dependent on the context to extract an entity, try it with this RegexExtractor that is a bit more specific than a regex-helper. It would be enough then to do:

## regex:tax_id
- \b[0-9]{9}\b

## regex:group_num_form
- \b[A-Z]{1}[0-9]{5}\b

and then to map the slots properly by their entities.

Tell me if there are questions about this solution.

Regards Julian

Currently i am able to extract group number and TAX ID from form 1

My training data in NLU: My group number is [eat005](group_num) and tax id is [123456123](tax_id)

My input: my group number is cyc100 and tax id is [987123456](tax_id)

slots extracted: group_num:cyc100 and tax_id:987123456

This works completely fine for form 1

But when i also try to extract entities for acc_num and routing_number(both are numeric and similar to tax id) some times the tax id slots is again set with number i enter for account number or Routing number similarly in the same way for routing number.So i avoid extracting entity for account number and routing number.

NLU data for Routing number and Account Number:

  • my account number is [123456](acc_no) and my routing number is [123123123](routing_num)

My input: my account number is 123789100 and my routing number is 122105155

Slots: tax_id:123789100 routing_num:122105155 acc_num:None

Here instead of setting acc_num slots it sets tax_id by replacing previous value we set in form 1(tax_id:987123456 form1) because of this i have restricted extracting slots to form 1 only as in form 2 also we are extracting numeric values of same pattern it is getting confused. If you know solution how to extracts slots from form 2 in this case please let me know.

  1. I tried model by setting different hyper parameters but for each parameter some stories are working and some or not may i know how can know what is the optimum hyper parameter value in which all stories work (Atleast let me know on what parameters you decide hyper parameter values for stories)

Thanks for your help

Thanks

But i cannot set regex pattern for tax_id and group number because if i set it and if users enters any non numeric value for tax_id it goes to exit criteria here i have to let user know what he enter wrong which i cannot do when i set regex pattern

Can you please provide any other solution

tried model by setting different hyper parameters but for each parameter some stories are working and some or not may i know how can know what is the optimum hyper parameter value in which all stories work (Atleast let me know on what parameters you decide hyper parameter values for stories

Can any one help me how can i choose optimum hyper parameter values

Having a hard time tracking everything. :-/
sometimes you refer to entities as acc_no, sometimes accountno sometimes you refer to routing_number, sometimes routingnumber

Do you have different entities for different forms? Also, when do you deactivate form1 and activate form2? Is it possible you still have form1 active while you’re entering tax_id?