Community Sentiment Model
Einstein Language offers a pre-built sentiment model that you can use as long as you have a valid JWT token. This model has three classes:
- positive
- negative
- neutral
Use the community sentiment model to classify text without building your own custom model. This model was created from data that comes from multiple sources. The data is short snippets of text, about one or two sentences, and similar to what you would find in a public community or Chatter group, a review/feedback forum, or enterprise social media.
This cURL command sends in a text string and returns a prediction from the model. You call the pre-built model the same way you call a custom model, but instead of passing in your own modelId
, you pass in a modelId
of CommunitySentiment
. See Prediction for Sentiment.
The model returns a result similar to the following JSON.