QnAMakerTraceInfo interface
Trace info that we collect and emit from a QnA Maker query
Properties
context | The context for multi-turn responses. |
knowledge |
ID of the knowledge base that is being queried. |
message | Message which instigated the query to QnA Maker. |
metadata |
Metadata related to query. Not used in JavaScript SDK v4 yet. |
qna |
Id of the current question asked. |
query |
Results that QnA Maker returned. |
score |
The minimum score threshold, used to filter returned results. |
strict |
Filters used on query. Not used in JavaScript SDK v4 yet. |
top | Number of ranked results that are asked to be returned. |
Property Details
context
knowledgeBaseId
ID of the knowledge base that is being queried.
knowledgeBaseId: string
Property Value
string
message
Message which instigated the query to QnA Maker.
message: Activity
Property Value
Activity
metadataBoost
Metadata related to query. Not used in JavaScript SDK v4 yet.
metadataBoost: any[]
Property Value
any[]
qnaId
Id of the current question asked.
qnaId?: number
Property Value
number
queryResults
scoreThreshold
The minimum score threshold, used to filter returned results.
scoreThreshold: number
Property Value
number
strictFilters
Filters used on query. Not used in JavaScript SDK v4 yet.
strictFilters: any[]
Property Value
any[]
top
Number of ranked results that are asked to be returned.
top: number
Property Value
number