dariowho/intents

Enable Dialogflow fulfillment call only on intents that override fulfill()

dariowho opened this issue · 0 comments

AS A chatbot user
IN ORDER TO have faster replies on simple intents
I WANT Agent to fulfill only intents that define a fulfillment procedure
INSTEAD OF calling the webhook every time

Details

This is done at export time. The webhookUsed and webhookForSlotFilling should only be set to True if the intent (or at least one of its parent classes) override their .fulfill() method.