QueryAnswerType Enum
This parameter is only valid if the query type is semantic
. If set, the query returns
answers extracted from key passages in the highest ranked documents. The number of answers
returned can be configured by appending the pipe character |
followed by the
count-<number of answers>
option after the answers parameter value, such as
extractive|count-3
. Default count is 1. The confidence threshold can be configured by
appending the pipe character |
followed by the threshold-<confidence threshold>
option
after the answers parameter value, such as extractive|threshold-0.9
. Default threshold is
0.7.
- Inheritance
-
builtins.strQueryAnswerTypeQueryAnswerType
Constructor
QueryAnswerType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Fields
EXTRACTIVE |
NONE |
Azure SDK for Python