ExtractiveQueryAnswer interface
Extracts answer candidates from the contents of the documents returned in response to a query expressed as a question in natural language.
Properties
answer |
|
count | The number of answers returned. Default count is 1 |
threshold | The confidence threshold. Default threshold is 0.7 |
Property Details
answerType
answerType: "extractive"
Property Value
"extractive"
count
The number of answers returned. Default count is 1
count?: number
Property Value
number
threshold
The confidence threshold. Default threshold is 0.7
threshold?: number
Property Value
number