Skip to content
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

Implement any_entity #51

Open
mgv99 opened this issue Nov 14, 2023 · 2 comments
Open

Implement any_entity #51

mgv99 opened this issue Nov 14, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request nlp

Comments

@mgv99
Copy link
Collaborator

mgv99 commented Nov 14, 2023

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 mgv99 added enhancement New feature or request nlp labels Nov 14, 2023
@mgv99 mgv99 self-assigned this Nov 14, 2023
@jcabot
Copy link
Contributor

jcabot commented Nov 14, 2023

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
Copy link
Contributor

jcabot commented Oct 15, 2024

Moreover now it can be implemented via the LLM intent classifier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request nlp
Projects
None yet
Development

No branches or pull requests

2 participants