Answer generation using search ai node in xo11

In my bot, I aim to get answers based on user questions by using the Search AI option from Knowledge AI and I have used the Web Crawl feature for response from website. I have set up the retrieval settings, answer configuration, and search results; please check the attached screenshots for details.

However, the output is not meeting my expectations. Even when the answer is not in the documents or web content, the bot still gives a response instead of activating the fallback task. Ideally, the bot should only reply if relevant information is found; if not, it should use the fallback behavior.



Thanks in advance for help.

Hi akash,
Thank you for reaching out to kore.ai community.
Like you asked, the bot to provide only relevant answers based on user queries, and any non-relevant queries should be directed to the fallback task. Currently, there isn’t a fallback task configured in Search AI. To improve accuracy and ensure users get more precise answers, please consider increasing the threshold value

How to increase threshold value:

  1. Go to search configurations
  2. Go to Retrieval
  3. Find Similarity Score Threshold make it 100/100.

Thank you,
Navya Middela
Kore.ai Community team.