Extracting entities from a user sentence is essential if you want the bot to respond based on information provided by the user.
In Botfuel Dialog, there are two ways to extract entities:
If the entities you want to extract are among the 31 predefined entities of the Botfuel Entity Extraction service, use the WsExtractor) class. See how to use it here.
If you need to use entities unique to your use case, for example when you need to integrate industry-specific knowledge into your bot, define a CorpusExtractor. See how to use it here.
All extractor files must be placed in the
src/extractors directory and have a