The Salesforce Einstein Language API allows you to
create natural language processing models to classify the intent of text or to classify text as positive, negative, and neutral. This allows you to to build natural language processing into your apps.
The Einstein Language API consists of two parts that you can use to unlock powerful insights within text:
Einstein Sentiment - Classify the sentiment of text into positive, negative, and neutral classes to understand the feeling behind text. You can use the Einstein Sentiment API to analyze emails, social media, and text from chat. You can create your own custom model or use our pre-built sentiment model.
Einstein Intent - Categorize unstructured text into user-defined labels to better understand what users are trying to accomplish. Leverage the Einstein Intent API to analyze text from emails, chats, or web forms.
Currently, Einstein Language supports only English.
Before you can access the Einstein Platform Services APIs, you must create an account and download your key,after which you use your key to generate an OAuth token. Your key can be used to access both the Einstein Vision and Einstein Language APIs.
This API is extremely well documented and supported.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.