QueryResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an individual result from a knowledge base query.
public class QueryResult
type QueryResult = class
Public Class QueryResult
- Inheritance
-
QueryResult
Constructors
QueryResult() |
Properties
Answer |
Gets or sets the answer text. |
AnswerSpan |
Gets or sets AnswerSpanResponse object for precise answer in response . |
Context |
Gets or sets context for multi-turn responses. |
Id |
Gets or sets the index of the answer in the knowledge base. V3 uses 'qnaId', V4 uses 'id'. |
Metadata |
Gets or sets metadata that is associated with the answer. |
Questions |
Gets or sets the list of questions indexed in the QnA Service for the given answer. |
Score |
Gets or sets the answer's score, from 0.0 (least confidence) to 1.0 (greatest confidence). |
Source |
Gets or sets the source from which the QnA was extracted. |