Forum Discussion
topic detection using cognitive services
- 9 years agoThe API is not so new. Last time I tried it (6 months ago), I wasn't sure how to send a POST request with no content, which was required by the API. But now I know how to do it :)
I may share the solution to apply Topic Detection in my Power BI Text Analytics Webinar: https://info.microsoft.com/US-PowerBI-WBNR-FY17-03Mar-09-TextAnalyticsinPowerBI300768_01Registration-ForminBody.html
Update: I am sorry. My answer above is wrong. The POST with the empty content was a showstopper of a different API. The issue with this API is that it returns HTTP 202 with the operation-location header that contains the URL where the answer will be available. Unfortunately, Power Query doesn't support HTTP 202 due to security reasons. According to the dev team, this is by design. The only way you can implement Topic detection is outside Power Query.
Hey I used cognitive service for sentiments and keywords, i'm not sure what you mean by topic detection, may be you mean "keywords"
Hi parry2k
I did wonder if they were the same thing, but I noticed this quick start guide in the the text analytics page which is doing something slightly different from key words which I was keen to try out
This is a newly released API which returns the top detected topics for a list of submitted text records. A topic is identified with a key phrase, which can be one or more related words. The API is designed to work well for short, human written text such as reviews and user feedback.
thanks Ed
- parry2k9 years agoSuper User
Aha, that is surely new and seems like it goes across many articles. interesting, I surely used sentiments and key phrases but not topics, would surely like to try.
- DataChant9 years agoMost Valuable ProfessionalThe API is not so new. Last time I tried it (6 months ago), I wasn't sure how to send a POST request with no content, which was required by the API. But now I know how to do it :)
I may share the solution to apply Topic Detection in my Power BI Text Analytics Webinar: https://info.microsoft.com/US-PowerBI-WBNR-FY17-03Mar-09-TextAnalyticsinPowerBI300768_01Registration-ForminBody.html
Update: I am sorry. My answer above is wrong. The POST with the empty content was a showstopper of a different API. The issue with this API is that it returns HTTP 202 with the operation-location header that contains the URL where the answer will be available. Unfortunately, Power Query doesn't support HTTP 202 due to security reasons. According to the dev team, this is by design. The only way you can implement Topic detection is outside Power Query.- EdEvetts9 years agoHelper II
OK excellent, just signed up for that one. will leave work a little early so i can get home in time to enjoy it in comfort :smileyvery-happy: Great posts by the way, I really enjoyed working through them. Thanks Ed