QnA Maker import logging information

Mike Anker 1 Reputation point
2021-04-14T18:22:26.13+00:00

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

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,866 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 46,476 Reputation points Microsoft Employee
    2021-04-15T07:51:45.177+00:00

    @Mike Anker 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://learn.microsoft.com/en-in/azure/cognitive-services/qnamaker/faqs",  
        "https://learn.microsoft.com/en-us/bot-framework/resources-bot-framework-faq"  
      ],  
      "sources": [  
        "Custom Editorial",  
        "SurfaceManual.pdf"  
      ]  
    }  
    
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.