QnAMakerOptions interface
Additional settings used to configure a QnAMaker
instance.
Properties
context | The context of the previous turn. |
enable |
A value indicating user's choice to receive PreciseAnswer or not. |
filters | |
include |
includeUnstructuredSources - option to fetch answers from unsrtuctured sources |
is |
A value indicating whether to call test or prod environment of knowledgebase. |
metadata |
(Optional) Metadata related to query. |
qna |
Id of the current question asked. |
ranker |
Ranker types. |
score |
(Optional) The minimum score threshold, used to filter returned results. Values range from score of 0.0 to 1.0. |
strict |
(Optional) Filters used on query. |
strict |
A value indicating choice for Strict Filters Join Operation. |
timeout | (Optional) The time in milliseconds to wait before the request times out. |
top | (Optional) number of results to return. |
Property Details
context
enablePreciseAnswer
A value indicating user's choice to receive PreciseAnswer or not.
enablePreciseAnswer?: boolean
Property Value
boolean
filters
includeUnstructuredSources
includeUnstructuredSources - option to fetch answers from unsrtuctured sources
includeUnstructuredSources?: boolean
Property Value
boolean
isTest
A value indicating whether to call test or prod environment of knowledgebase.
isTest?: boolean
Property Value
boolean
metadataBoost
(Optional) Metadata related to query.
metadataBoost?: QnAMakerMetadata[]
Property Value
qnaId
Id of the current question asked.
qnaId?: number
Property Value
number
rankerType
Ranker types.
rankerType?: string
Property Value
string
scoreThreshold
(Optional) The minimum score threshold, used to filter returned results. Values range from score of 0.0 to 1.0.
scoreThreshold?: number
Property Value
number
strictFilters
(Optional) Filters used on query.
strictFilters?: QnAMakerMetadata[]
Property Value
strictFiltersJoinOperator
A value indicating choice for Strict Filters Join Operation.
strictFiltersJoinOperator?: JoinOperator
Property Value
timeout
(Optional) The time in milliseconds to wait before the request times out.
timeout?: number
Property Value
number
top
(Optional) number of results to return.
top?: number
Property Value
number