I've used dialog flow for conversation between our truck company and us by using dialog flow link with line app so when truck company inform us the chatbot will automatic reply to truck company and pass details to another group chat to our warehouse groupchat automatically for example in group chat A the truck driver inform "I come to pick up corn in bulk at warehouse ABC and deliver to company B with truck license number 70-7193/94"
With this wording I've created entity for product name: Corn product type: Bulk warehouse name: Warehouse ABC Destination: Company B
so the bot will automatic send details of $Product $Type $WarehouseName $Destination automatically but how dialogflow will understand that 70-7193/94 is truck license number? since I don't have record before but we know the pattern like
- 71-7195
- 70-7193/94
- 85-8567/8134
- 83-3122/23, 90-9123/22
How to train them to know if first 2 number with - follow with 4 number or follow with 4number then / with two or four number will be truck license number?
If they can understand its truck icense number entity i can coding to pass the details to warehouse group.
Awaiting for your comment.
I try add truck license number 10 number and hope they can learn for the pattern for unsuccessful