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

Dialogflow - Try to convert knowledge-based bot to intent-based one for better performance #24

Closed
xuechunf opened this issue Jun 14, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request immediate issues that are immediately worked on

Comments

@xuechunf
Copy link
Collaborator

While looking for a way to test and improve the performance of knowledge base, I find it is better for us to give up the knowledge base feature and turn to intent-based bot.

https://botflo.com/dialogflow-knowledge-connector-pros-and-cons/
At the end of the above article, it compares knowledge-based bot (using knowledge base) and the intent-based bot.

Intent Based FAQ Bot Knowledge Based FAQ Bot
How we build it Using intents and training phrases Using the knowledge base feature
Support for multiple responses for the same query No Yes
Multiple training phrases per intent Yes No
Supports entities in training phrases Yes No
Support for contexts (and follow up) Yes No
Easy to construct rich responses (e.g. for Dialogflow Messenger) Yes No
Use term reinforcement for adding weights to specific words and phrases Yes Blackbox
Allows us to minimize intra-intent variance and maximize inter-intent variance (as recommended by Google) Yes Blackbox

I found that it is impossible to connect intents or entities with knowledge base, and also not able to convert user utterance into train phrase. The only advantage for knowledge base is that the bot could return multiple answers (top N intent matches).

The next step is to bulk upload intents from CSV file, and we can refer to this article:
https://botflo.com/how-to-bulk-upload-intents-from-a-csv-file-in-dialogflow/

@xuechunf xuechunf added enhancement New feature or request immediate issues that are immediately worked on labels Jun 14, 2022
@xuechunf
Copy link
Collaborator Author

Conversion completed. Should check the quality of questions in excel forms (Some of the questions in executing phase are not very specific to that phase)

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

No branches or pull requests

2 participants