@Milos Tomic Thanks for the question. Can you please add more details about the language studio Q&A that you are trying.
Custom question answering uses Azure diagnostic logging to store the telemetry data and chat logs. Follow the document link to run sample queries to get analytics on the usage of your custom question answering project.
How to retrieve chatbot logs?
Milos Tomic
21
Reputation points
I used to retrieve logs from my chatbot made via QnAMaker by entering its Application Insights and typing in the following query:
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['Question'])
| extend answer = tostring(customDimensions['Answer'])
| extend score = tostring(customDimensions['Score'])
| project timestamp, resultCode, duration, id, question, answer, score, performanceBucket,KbId
However I migrated the bot to LanguageStudio, and created a new bot from there. However when I enter its related Application Insights and enter the script above, I get the error message 'No results found'. I think the script might have changed, if someone could help me out with it?
I should have enabled logs since I can see other metrics in the App Insights active, so there is some data coming in.
1 answer
Sort by: Most helpful
-
Ramr-msft 17,616 Reputation points
2022-05-12T07:20:32.387+00:00