I'm very new to Copilot and I don't know how to apply a fallback if my generative answer has no response.
Basically I have a simple bot that mainly uses a generative answers step for specific questions in a topic but it doesn't fallback when it can't answer a question, instead it just ends the topic there. Yes it can fallback if it were from the generative answer outside of the topic but if it is in the topic there is no fallback. I thought of using the condition but I have no clue if the generative answer step has a dynamic value to be used.
Good morning,
I hope you are doing well. If you want your answer to count the number of times a generative AI fails to respond, you can use your own variable (FalseAnswer) and increment it when the answer fails.
When you reach three, redirect to the topic you want and reset it.
Hope it helps,
Have a great day.
Hi @HenryJammes ,
I tried your solution, yet the fallback count doesn't increase. It is always 0 when I redirect from another topic to the fallback topic. It just increases if no topic is triggered at all and the "On Unknown Intent" trigger takes effect.
Any idea why?
Hi @Revlock97,
If you look at the standard 'Conversational Booster' system topic, you'll see how it handles a blank answer: the dialog actually continues and fallback is triggered automatically.
In your case, I can see you're using a 'Create a generative answer' node at a specific place in a topic, but you've not added logic to handle blank answers. Here's what I would do:
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,004
Most Valuable Professional