Hi team,
I understand that I can add another file to an existing KB via API using Update (Add) KB using 'fileName' and 'fileURI' of FileDTO:
https://docs.microsoft.com/en-us/rest/api/cognitiveservices-qnamaker/qnamaker5.0preview2/knowledgebase/update#add
However, after the file is uploaded, is it possible to delete the same file via API (as you can easily do in the QnA Maker portal). The delete function refers to 'sources', but not 'fileName' as in the FileDTO: https://docs.microsoft.com/en-us/rest/api/cognitiveservices-qnamaker/qnamaker5.0preview2/knowledgebase/update#delete.
1) Do I use this delete function with 'sources' set to the 'fileName(s)' required to be deleted?
2) Is 'fileName' just used as a label 'source' within the KB, thus QnA Maker uses the 'fileURI' only to locate and upload the file?
Many thanks
Marc