Search code examples
botframeworkbotsazure-pipelinesazure-pipelines-release-pipelineazure-qna-maker

Is it possible to Backup a QnA Maker Knowledge with Azure Pipelines?


Im working with bots from the Microsoft Bot Framework (SDK4).

My Bot is connected with LUIS and two KnowledgeBases.

The CI/CD process is realized with Azure Pipelines.

Im wondering if it is possible to backup a knowledge Base with the Release Pipeline within Azure Pipelines.


Solution

  • You can try to write a script in azure pipeline to download the knowledge base from QnA Maker programmatically.

    The download process is programmatically available using the following REST API:

    GET {Endpoint}/qnamaker/v4.0/knowledgebases/{kbId}/{environment}/qna
    

    You can refer to this document for details.