I would like to know how to implement an IF condition in one of my custom topics. This condition should first check a document, knowledge base, or webpage (let's call it 'A') for an answer. If the answer is not found there, it should then check another source (let's call it 'B'). If the answer is still not found after checking both sources, it should prompt the user with a message: 'I was unable to find an answer to your query in my designated resources. Would you like to rephrase your question? If you prefer not to, I can initiate a special process where you can specify the topics of your question. I will then open a case on your behalf and forward your query to the appropriate personnel, who will respond to you promptly.'
Any help would be greatly appreciated.
@RuddySimon188 , The variable GenAIResponse2 is declared and defined in create generative answer node.
Is 'GenAIResponse2' a new variable in the condition on the right side, or has it been used elsewhere?
Yes I use conversational boosting but I created a custom topic because we need to use some phrases to trigger the topic. So I want to implement the condition in my custom topic.
@RuddySimon188 , I have tried the same and the topic looks like below. Please try at your end and see it works.
Use Generative Answers. If an answer is not found, the response from the Gen Answers node will be empty. For example, see how "no response" is handled in the conversational boosting topic:
@RuddySimon188 - Are you using boost conversation Gen AI feature in your bot?
Romain The Low-Code...
74
Pablo Roldan
61
stampcoin
10