Add synonyms to extracted FAQ questions

Maybe I’m not finding it but is there an easy way to add synonyms to FAQ’s extracted from URLs?

For example for the imported question: I want to call in sick, what should I do?

The answer for this question will only trigger when typing almost all of the words in the question but ideally it should also trigger on just typing in the words “sick, call in sick, I’m sick, I can’t work today” etc.

1 Like

Once the FAQs are extracted from the URL, build a Knowledge Graph by adding terms in the left pane. You could then drag and drop the FAQs which are extracted from the source (URL) to the terms .

When the user provides an utterance to the chatbot, the KG engine would look out for the number of terms present in the utterance and quality the paths depending on the thresholds defined under Natural Language section. (Would be 50% by default).

Once a path is qualified, all the FAQs at the path would be indexed to pick the right FAQ based on the user utterance and provide the answer.

For each of the FAQ, the developer could configure alternate questions as well for the primary question. Maybe this should answer your query.

NOTE:
You could configure the synonyms at term, tag (added at the FAQs directly). Alternatively you could define Global synonyms instead of path level synonyms which would apply to all terms in the KG at different paths with the same name.

Please refer to below links for more details on Knowledge collection:
https://developer.kore.ai/docs/bots/bot-builder-tool/knowledge-task/creating-a-knowledge-graph/

https://developer.kore.ai/docs/bots/nlp/knowledge-graph/

https://developer.kore.ai/docs/bots/nlp/knowledge-graph/#Threshold_Configurations