
Announcements
Hello,
with Power Virtual Agent there was a pretty easy way to include chit-chat capabilities, by linking with QnA Maker, which has been replaced by Language Service, in a fallback topic.
How should we proceed now?
I am a bit confused with fallback topic and generative answers / conversational boosting.
Thank you
You can still leverage a "chitchat" database combined with Generative Answers: whenever Gen Answers does not provide a response, redirect the question to Custom Question Answering.
You could even achieve the same (or better results?) by creating an extra Gen Answers node connected with a chitchat/joke website. For example:
kind: AdaptiveDialog
beginDialog:
kind: OnUnknownIntent
id: main
priority: -1
actions:
- kind: SearchAndSummarizeContent
id: search-content
userInput: =System.Activity.Text
variable: Topic.Answer
publicDataSource:
sites:
- "https://www.tomshardware.com/"
- kind: ConditionGroup
id: has-answer-conditions
conditions:
- id: has-answer
condition: =!IsBlank(Topic.Answer)
actions:
- kind: EndDialog
id: end-topic
clearTopicQueue: true
elseActions:
- kind: SearchAndSummarizeContent
id: searchAndSummarizeContent_pPAV3Q
userInput: "=Concatenate(\"tell me a joke relevant to this question: \", System.Activity.Text)"
publicDataSource:
sites:
- "https://www.ducksters.com/jokes"
sharePointSearchDataSource: {}
customDataSource: {}
When in formation about a user's question can be found in the "primary website", Generative Answers will provide a response:
But when information is not found, the "chitchat website" is used as fallback (ignore the fact the joke is not that funny):