Design Bot ontology for unrelated or random questions


(Jay) #1


We have a scenario for designing a Chatbot with some FAQs on APIs that we host for our clients. Questions can be like how to call an api, how to generate token, I am getting an error message “not authorised”, and range of other questions on exceptions/errors & How to’s.

Please suggest a design that we can use for bot ontology.

I initially started with categorizing the errors based on similarity, like access errors, token errors but user utterance sometime does not have these node terms in their questions.
Right now I have a flat structure with questions on errors and as many alternative questions i can think of.

Please let me know if I can design it some better way.

Thanks in advance.

(Yoga Ramya Mendu) #2

Hi @janak.jay,

You can proceed building the Ontology structure by Categorizing the error types into nodes. The questions need not necessarily contain the “node name” as one of its terms.
Use the tags, Synonyms, Traits and Stop words to train the Knowledge graph appropriately.

Kindly refer the following links for more information:

Let us know if you need any further clarification on the above.

Yoga Ramya.