REST API Cognitive Question Answer : How can we create a new Source for a Project or dynamically create a source while importing Project Assets?
We use REST API to Create a Knowledge Based Project for our custom Question Answer Resource. I could not find an API endpoint to Create a new source. I tried the Import Project Assets end point for a Project that has no Source defined using the example described here: https://learn.microsoft.com/en-us/rest/api/cognitiveservices/questionanswering/question-answering-projects/import?tabs=HTTP
The format was provided in a JSON body the qnas with a source name. However, the import job did not create the Q&A or the source.
Our use case is we programmaticallyy create new Knowledge Based Project and have a requirement to programmaticallyy define/import the sources .