Answers v2 Manager node
Answers v2 is an upgrade to the existing Answers module. You can use the knowledgebases created in the Answers vNext in the Experience Designer using the Answers v2 Manager node.
The following image provides a basic flow that uses the Answers v2Manager node.
Answers v2 Manager node properties
Answers v2 Manager node acts as a bridge between the Orbita Answers vNext knowledgebase and the Experience Designer.
Field | Description |
---|---|
Project | Non editable field which auto-populates the current project |
KB | Lets you choose the knowledgebase from the drop-down. |
Root Type | Fetches the data by parent/ancestor based on Label |
End Session | End session flag |
You can see the output at msg.payload.multiagent.voice.sayText
Root types
The Root type is used to fetch Answers based on the Label using the Label Intent. Besides that, all the Primary questions and variations can be used to get the Answer directly in the bot regardless of the Root type using the Question Intent.
Root Type> Ancestor
This is the default option. This recognizes the hierarchy that is applied in the KB questions.
To access the child questions we must trigger the Ancestor Primary question and its question variation. Once the Ancestor Primary question is triggered, next the user is free to give the Parent or child question within the Ancestor, as the input to the bot.
Sample
When the User triggers the unambiguous question ‘What is covid?’, the question context is set to this primary question. Then when the user triggers the Label ‘symptoms’, the system will show the answer for 'What are the symptoms of covid?' since this is within this Ancestor. This uses the label intent.
When the User triggers the unambiguous question ‘What is cancer?’, the question context is set to this primary question. Then when the user triggers the Label ‘symptoms’, this will be an ambiguous state since it is associated with two primary questions. The user has to rephrase with the correct question. In case the User triggers the ‘treatment’ label, the answer for ‘What are the treatments for cancer?’ will be shown. The label intent will be used.
Root Type> Parent
Every question will be considered as a Parent question and its successive questions under it will be considered as its Child questions.
Sample
When the User triggers the unambiguous question ‘What is cancer?’, the question context is set to this primary question. Then when the user triggers the Label ‘lungs cancer’, the system will show the answer for 'What is lung cancer?'.
When the User triggers the unambiguous question ‘What is lung cancer?’, the question context is set to this primary question. Then when the user triggers the Label ‘lungs cancer’, the system will show the answer for 'What are the symptoms of lung cancer?'.