How to use SharePoint as a input to question answering

Yukimaru123 191 Reputation points
2022-09-30T20:02:53.15+00:00

I want to use question answering, the input is sharepoint. Is azure supporting this? I tried the URL but it returned unsupported error.

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

Accepted answer
  1. YutongTie-MSFT 46,996 Reputation points
    2022-10-01T05:21:24.693+00:00

    Hello @Yukimaru123

    Thanks for using Microsoft Q&A platform. You can have a try as below - https://learn.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/add-sharepoint-datasources#add-sharepoint-data-source-with-apis

    1. Download the SharePoint files locally. The user calling the API needs to have access to SharePoint.
    2. Upload them on the Azure blob storage. This will create a secure shared access by using SAS token.
    3. Pass the blob URL generated with the SAS token to the QnA Maker API. To allow the Question Answers extraction from the files, you need to add the suffix file type as '&ext=pdf' or '&ext=doc' at the end of the URL before passing it to QnA Maker API.

    I hope this helps.

    Regards,
    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thank a lot.

    0 comments No comments

0 additional answers

Sort by: Most helpful