question

MikeAnker-8727 avatar image
0 Votes"
MikeAnker-8727 asked romungi-MSFT answered

QnA Maker import logging information

How do we determine the last time a excel or .tsv file was imported into a KB?

azure-qna-maker
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.

1 Answer

romungi-MSFT avatar image
0 Votes"
romungi-MSFT answered

@MikeAnker-8727 You can lookup the details of last file import or the last time the file was updated using the following APIs.

Knowledgebase - Get Details
Knowledgebase - List All

A sample successful response should contain the following details of a KB:

 {
   "id": "9d091697-fb8c-4ed5-9ac0-35bf8273bfff",
   "hostName": "https://myqnamakerbot.azurewebsites.net",
   "lastAccessedTimestamp": "2018-03-16T10:59:46Z",
   "lastChangedTimestamp": "2018-03-16T10:58:10Z",
   "lastPublishedTimestamp": "2018-03-16T10:59:56Z",
   "name": "My QnA Maker Bot",
   "userId": "03a4f4ce-30a6-4ec6-b436-02bcdf6153e1",
   "urls": [
     "https://docs.microsoft.com/en-in/azure/cognitive-services/qnamaker/faqs",
     "https://docs.microsoft.com/en-us/bot-framework/resources-bot-framework-faq"
   ],
   "sources": [
     "Custom Editorial",
     "SurfaceManual.pdf"
   ]
 }


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.