api.ai - Chatbot to give information on staff -


i've created bot allows users ask specific staff in company work for. e.g. "who john smith?" bot reply, john smith xxxx.

currently have entered 10 individuals company, using 10 different intents, e.g. staff 1, staff 2 etc etc. first 1 entered called raymond.

if user enters "who is" followed name doesn't exist 1 of 10, automatically defaults assuming asking raymond, instead bot "sorry person doesn't work company".

can give me pointers?

thanks eugene

we can provide autocomplete facility rather showing error message. firstly, allow user see staff data available. , secondly, stop unnecessary hits database in case, user types in name doesn't exist. there many autocomplete widgets available online such

autocomplete-jquery


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -