Basic Question on Extracting Values from User Input Using FormAction

Thanks Julian for answering my questions. I’ve updated my code and it’s now recognizing names which are not from the database more frequently.

  1. I’m not sure I understand the debug output that I’m seeing. It looks like the extractor which is recognizing all of my names is CRFEntityExtractor rather than SpacyEntityExtractor. At times I’ve seen SpacyEntityExtractor identified as the extractor of names but I’m not sure when one extractor is chosen over another for names that are common.

  2. Also, the performance seems to vary quite a bit. When I type names into the Spacy visualizer I find that they’re recognized with the type PERSON. However, using `self.from_entity(entity=“PERSON”, not_intent=“chitchat”), entities of names are not being recognized.

  3. I decided to try extracting city names as well and so I changed the name of the slot to GPE. I tried recognizing “i live in lisbon, portugal” However, the debugger showed Received user message ‘i live in lisbon, portugal.’ with intent ‘{‘name’: ‘inform’, ‘confidence’: 0.41268043945481514}’ and entities ‘[]’. This looks like the same issue as earlier in my post.