Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

EntityAnalysis, Version 2 model in natural language API

Hello,

could anyone share the python code on how to get natural language API to use version 2 for Entity  Sentiment Analysis?
The Demo can be run for that, but it seems like in the docs this part is missing:
https://cloud.google.com/natural-language/docs/reference/rest/v1/documents/analyzeEntitySentiment

However, for the classification, it is possible, as it is described here: 
https://www.googlecloudcommunity.com/gc/AI-ML/Version-2-model-in-natural-language-API/m-p/484641

Thanks 

0 7 1,153
7 REPLIES 7