KnowledgeBaseAnswer interface
Represents knowledge base answer.
Properties
| answer | Answer text. |
| confidence | Answer confidence score, value ranges from 0 to 1. |
| dialog | Dialog associated with Answer. |
| metadata | Metadata associated with the answer, useful to categorize or filter question answers. |
| qna |
ID of the QnA result. |
| questions | List of questions associated with the answer. |
| short |
Answer span object of QnA with respect to user's question. |
| source | Source of QnA result. |
Property Details
answer
Answer text.
answer?: string
Property Value
string
confidence
Answer confidence score, value ranges from 0 to 1.
confidence?: number
Property Value
number
dialog
Dialog associated with Answer.
dialog?: KnowledgeBaseAnswerDialog
Property Value
metadata
Metadata associated with the answer, useful to categorize or filter question answers.
metadata?: {[propertyName: string]: string}
Property Value
{[propertyName: string]: string}
qnaId
ID of the QnA result.
qnaId?: number
Property Value
number
questions
List of questions associated with the answer.
questions?: string[]
Property Value
string[]
shortAnswer
Answer span object of QnA with respect to user's question.
shortAnswer?: AnswerSpan
Property Value
source
Source of QnA result.
source?: string
Property Value
string