I am trying to extract multiple occurrences of an entity in a single statement.
E.g.
User: I want to find the tickets for id AB443, FB232 and CD090.
Bot: Sure, here are the informations about tickets:
ABC443: Shipped
FB232: In Process
CD090: Delivered
To achieve this, I have defined an regex entity here, which can identify the tickets as they are alpha-numerical characters.
I have also defined a slot for the same with type list.
But that didn’t work.
i have the challenge too,
I try to extract multiple entity values (of the same entity) from a message.
I explain more, we suppose i have an entity named cuisine, and this is the user message “where can i found a german and chineese food?”
in nlu i have :
-where can i find [german](cuisine) food?
-where can i find [chineese](cuisine) food?
how can in put “german” and “chineese” in a slot_list?
@OUHIBIadel there is the get_latest_entity_values function which will get all entities recognised for you and you can decide which one you want to set the slot with
Hi,
Thank you very much @akelad, I solved my issue, it isn’t very accurate, but its ok.
Now, i like to save conversations in a sqlite database,
this is what i put in endpoints:
tracker_store:
type: SQL
dialect: "sqlite" # the dialect used to interact with the db
url: # (optional) host of the sql db, e.g. "localhost"
db: "rasa.db" # path to your db
username: # username used for authentication
password: # password used for authentication
# query: # optional dictionary to be added as a query string to the connection URL
# driver: my-driver