BESSER-Bot-Framework icon indicating copy to clipboard operation
BESSER-Bot-Framework copied to clipboard

Implement any_entity

Open mgv99 opened this issue 1 year ago • 1 comments

This base entity is not implemented. It is a challenging implementation since it must match any text fragment following a training sentence pattern. Examples:

ANY is my name My name is ANY "My name is ANY, nice to meet you"

Unless we consider an exact match with the original training sentence, it is hard to decide where the ANY starts and ends. So, an easy first implementation could be done by cutting where the text before/after the ANY parameter is found.

mgv99 avatar Nov 14 '23 11:11 mgv99

This is the same approach that nlp.js used. And I agree it's good enough for a first phase. We don't want to try to go for a perfect solution

jcabot avatar Nov 14 '23 16:11 jcabot

Moreover now it can be implemented via the LLM intent classifier

jcabot avatar Oct 15 '24 11:10 jcabot