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

registerActionFunction doesnt work #1304

Closed
maxdow opened this issue Apr 27, 2023 · 1 comment
Closed

registerActionFunction doesnt work #1304

maxdow opened this issue Apr 27, 2023 · 1 comment

Comments

@maxdow
Copy link

maxdow commented Apr 27, 2023

I tried to use the registerActionFunction to register a simple response ( following https://github.com/axa-group/nlp.js/blob/master/docs/v4/nlp-intent-logics.md ) . executeActionsBeforeAnswers is set to true in the config .

Unfortunately, nothing append when i use this function, my handler is not executed and the context is not filled .

However, addAction is working as expected

Software Version
nlp.js 4.26.1
node 18.10
Operating System Windows 10
@maxdow
Copy link
Author

maxdow commented Apr 27, 2023

Ok i understand, the name of the action is different in the example between the config object and the register function (handleWhatsTimeAction VS handleWhatsTimeIntent ) ..

@maxdow maxdow closed this as completed Apr 27, 2023
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

1 participant