question

Shwetadabgar-0160 avatar image
0 Votes"
Shwetadabgar-0160 asked Shwetadabgar-0160 commented

metadata in the insight query for QnAMaker logs

Please let me know how to include metadata in the insight query for QnAMaker logs
somthing as this, here the meatadata field comes empty

requests
| where url endswith "generateAnswer"
| project timestamp, id, url, resultCode, duration, performanceBucket
| parse kind = regex url with *"(?i)knowledgebases/"KbId"/generateAnswer"
| join kind= inner (
traces | extend id = operation_ParentId
) on id
| extend question = tostring(customDimensions['traces'])
| extend answer = tostring(customDimensions['Answer'])
| extend score = tostring(customDimensions['Score'])
| extend metadata = tostring(customDimensions['qnaMakerOptions'])
| project answer,['metadata']134984-screenshot-2021-09-24-at-103105-am.png


azure-qna-maker
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Shwetadabgar-0160 Based on the query below it looks like metadata is not returned in the telemetry, So with the GA release version of QnAMaker it looks like this is not supported.

 requests
 | where url endswith "generateAnswer"
 | project timestamp, id, url, resultCode, duration, performanceBucket
 | parse kind = regex url with *"(?i)knowledgebases/"KbId"/generateAnswer"
 | join kind= inner (
 traces | extend id = operation_ParentId
 ) on id


135086-image.png


1 Vote 1 ·
image.png (18.9 KiB)

IIs there any other way i can get the metadata through the query of insights?

0 Votes 0 ·

0 Answers