HI! I am new to RASA. I am trying to build a bot that can answer questions about abbreviations. So far quite simple only the ones with more than 2 capitals in a row. An example question would be:
What does EBITDA mean?
To enable this is have connected to a SQL database, and with a custom action find_abbreviation I would like to answer.
The problem is that Rasa is only finding the abbreviations that are provided in the NLU file as example. It does not find others (from the regex expression). It does work for ISBN’s, the regex for that is /d{13}, so 13 digits in a row.
NLU:
-
regex: ISBN_number examples: |
- /d{13}
-
regex: Abbreviation examples: |
- [A-Z]{2,6}
-
intent: find_abbreviation examples: |
DOMAIN:
entities: - Abbreviation - ISBN_number … more …
Help on this is really appreciated!!
Arjan