AnswerSpanResponse interface

Precise Answer, which is part of Answer returned by GenerateAnswer call to the QnA Maker Service.

Properties

endIndex

The end index for the precise answer generated.

score

The answer score pertaining to the quality of precise answer text.

startIndex

The starting index for the precise answer generated.

text

The precise answer text relevant to the user query.

Property Details

endIndex

The end index for the precise answer generated.

endIndex?: number

Property Value

number

score

The answer score pertaining to the quality of precise answer text.

score: number

Property Value

number

startIndex

The starting index for the precise answer generated.

startIndex?: number

Property Value

number

text

The precise answer text relevant to the user query.

text: string

Property Value

string