Reputation: 67
The bot which I have created within Dialogflow is using a webhook to link to our external site.
However, because the whole phrase was a @sys.any parameter, this would be prioritised over most other intents.
We are trying to get users to use natural language when using the bot, however people still do just type in one word or a phrase for the search function.
What I would like if possible is to have a fallback intent which is the search function. So if the bot cannot successfully match the one word, it would then run a search for this word.
I am not sure if this would fix this problem or just produce more issues.
If anyone has solved something similar to this, I would greatly appreciate the help. Sorry if this is simple to do, I am all new to the whole Dialogflow world!
Upvotes: 1
Views: 164
Reputation: 50741
You can turn fulfillment on for Fallback Intents, and these will be sent to your webhook. The JSON includes the full text of what was entered.
However... the results will clearly be less useful since some of the results will be text that is conversational, but didn't get picked up by one of the other Intents.
Upvotes: 1