New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate inline lookup tables #4871
Conversation
Rasa X does not support inline lookup tables. To be consistent these are also deprecated in ``rasa``.
wait, I should also update the docs. Gonna do that in a sec. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!! This simplifies our training data format.
docs/nlu/training-data-format.rst
Outdated
@@ -67,7 +62,9 @@ learn the domain with fewer examples and also help it be more confident of its p | |||
Synonyms will map extracted entities to the same name, for example mapping "my savings account" to simply "savings". | |||
However, this only happens *after* the entities have been extracted, so you need to provide examples with the synonyms present so that Rasa can learn to pick them up. | |||
|
|||
Lookup tables may be specified either directly as lists or as txt files containing newline-separated words or phrases. Upon loading the training data, these files are used to generate case-insensitive regex patterns that are added to the regex features. For example, in this case a list of currency names is supplied so that it is easier to pick out this entity. | |||
Lookup tables may be specified as txt files containing newline-separated words or |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would change txt
for plain text
Co-Authored-By: Federico Tedin <federicotdn@users.noreply.github.com>
…sa into deprecate-inline-lookup-tables
I guess this should go into the minor next week as well? |
yes |
So how exactly should these look like now? Also, do you support multiple files per lookup? |
Hi @cristianmtr , multiple files per lookup currently don't work. The lookup files should be provided as described in the documentation |
Proposed changes:
Status (please check what you already did):
black
(please check Readme for instructions)