Can I upload a file in markdown format to QnA maker knowledgebase

Zheng Lin 1 Reputation point Microsoft Employee
2021-02-26T03:20:58.357+00:00

Hi, We are trying to import Onenote pages into QnA maker knowledgebase. At this point, we are able to convert Onenote pages to wiki markdown files. I wonder if it is possible to import markdown files directly into QnA maker knowledgebase. It is not listed in the doc, but I saw FileName="myFileName", FileUri="https://mydomain/myfile.md" listed in one of the QnA maker sample file in github. Want to get clarification on this. One more question is, if it is possible to upload a file in stream to QnA maker knowledgebase since that is much easier. Create entry in Azure blob and make it publicly accessible seems a lot of hustle to get dynamic data into the knowledgebase. Thanks

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

1 answer

Sort by: Most helpful
  1. romungi-MSFT 48,906 Reputation points Microsoft Employee Moderator
    2021-02-26T08:07:18.607+00:00

    @Zheng Lin Markdown files cannot be uploaded directly, you can check this when you try to upload a file from the UI.

    72431-image.png

    Could you also provide the link to the repo or file which demonstrates that MD files can be used for reference?

    I can understand that pointing a KB to a dynamic site or link might help to make your application pickup the QnA pairs faster from your KB but in the current scenario the process can be sped up using the REST API instead by maintaining your files in a repo or a FAQ type site and calling the update API to update the KB and train API to train your KB. If the development lifecycle guidance is used it can help your KB utilize feature of active learning to create a better model instead of updating the KB for similar QnA pairs frequently.


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.