Hi,
I'm looking for details how to connect to the REST API for the Question Answering endpoint - including the Prebuilt Answer feature.
For example to ask questions and get answer using Postman in the same why I can do it using the Test option for one project inside the Language Studio.
The information I found around this topic are related to the "classic" QnA maker or the qnamaker v5.0-preview versions.
But for the new Question Answering feature as part of the Language Service I didn't find information that worked for me.
I tried to build my Postman query based in the details I extracted from using the mentioned Language Studio Test option.
https://{Unique-to-your-endpoint}.api.cognitive.microsoft.com/language/:query-knowledgebases?projectName={projectname}&api-version=2021-10-01&deploymentName={deployment-environment}
Plus the api-key as Header parameter (parameter name: Ocp-Apim-Subscription-Key)
And the Request details as JSON document inside the request body
But I get each time an 404 error message.
On the other hand, using curl in a similar way works.
Can you provide a Postman sample that works, too?
In addition I want to ask, when will the Language Service (including Question Answering) API documentation be available as part of the REST API documentation (https://docs.microsoft.com/en-us/rest/api/) ?
I would expect it under:
https://docs.microsoft.com/en-us/rest/api/cognitiveservices/languageservice/...
But this site contains just information for the separate qnamaker endpoint until now
--> https://docs.microsoft.com/en-us/rest/api/cognitiveservices-qnamaker/
Regards,
Peter