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

Intents only for triggers? #23

Open
w1nk opened this issue May 25, 2019 · 2 comments
Open

Intents only for triggers? #23

w1nk opened this issue May 25, 2019 · 2 comments

Comments

@w1nk
Copy link

w1nk commented May 25, 2019

Hello!

I've created a model with a few intents and have it connected to botkit-cms, and then my bot connected to that. So far everything seems to function as expected. When configuring scripts and their associated triggers, I can select the intents from my model and things work great.

Once inside a script, is there also a way to have the conditional actions use my model's intents to choose what to do? So instead of exact/regex matching, use the model intent prediction like the trigger mechanism?

Thanks!

@benbrown
Copy link
Contributor

That functionality does not yet exist.

@w1nk
Copy link
Author

w1nk commented May 28, 2019

If it's a useful feature for the project, I don't mind assisting in bringing such functionality into existence. I've already done quite a bit of patching so my pytext webservice resembles the luis api close enough during the trigger selection to work, presumably the work is roughly similar to extend the matching inside the script (ie: scan the triggers for type intent and lob those at the service for answer). If this is something you'd see as interesting, can you give me a little bit of guidance around:

  1. Is my understanding of the mechanism inside the scripts at all close? ie: does that code resemble the trigger resolution mechanisms as well?
  2. Are there standards guidelines I can follow to not get lost in naming convention during code reviews, etc?

If it's not interesting, that'd be super useful to know as well :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants