QnA Maker import logging information

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

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

Azure QnA Maker
Azure QnA Maker
An Azure Cognitive Service for Language feature that distills information into conversational answers.
139 questions
No comments
{count} votes

1 answer

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

    @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"  
      ]  
    }  
    
    No comments