-
Notifications
You must be signed in to change notification settings - Fork 27
Home
Analyzing SMS messages with Watson Knowledge Studio
This code pattern demonstrates how Watson Knowledge Studio can be used to build a custom model to better categorize SMS message content. This model supplements the capabilities already provided by Watson Natural Language Understanding.
Cognitive
In this developer journey we will guide to develop solution using wks-nlu. Post understanding this wiki user will be able to perform the below tasks.
- Using Watson Knowledge Studio user can create and train the machine learning model using human annotated documents.
- User will be able to integrate the machine model into NLU service.
- User can extract domain specific entities using this NLU service.
N/A
In November 2017 IBM announced the availability of the new Watson Salesforce SDK, it is just one of the many exciting things resulting from the IBM & Salesforce partnership. An SDK is an important tool in a developer's toolbox. The Watson Salesforce SDK allows Salesforce developers to integrate Watson AI into their Salesforce applications more easily than ever before. In simple terms, its a bunch of pre-packaged code that developers can use to quickly to properly access the Watson APIs. Using an SDK saves a developer immeasurable time and frustration. Integrating Watson using the Apex codebase typically requires hundreds of lines of code to be written. Using the SDK, you can accomplish the same feat with as few as five lines of code!
In this code pattern we will be using the new Watson Salesforce SDK by interacting with various Watson APIs in Apex, a Salesforce specific programming language. The Watson Salesforce SDK currently supports:
- IBM Conversation V1
- IBM Discovery V1
- IBM Language Translator V2
- IBM Natural Language Classifier V1
- IBM Natural Language Understanding V1
- IBM Personality Insights V3
- IBM Speech To Text V1
- IBM Text To Speech V1
- IBM Tone Analyzer V3
- IBM Visual Recognition V3
When the reader has completed this code pattern, they will understand how to:
- Create a Salesforce account.
- Install the Watson Salesforce SDK.
- Use the Watson Salesforce SDK to make calls to Watson Visual Recognition, Watson Discovery, and Watson Tone Analyzer APIs.
- Use the Lightning UI debugger to view the results of the APIs.
- User will feed the sms from which he wants to extract entity info from sms.
- The offer, offer period, merchant etc are fetched as json.
- Watson Knowledge Studio
- Natural Language Understanding
- Watson Visual Recognition: Visual Recognition understands the contents of images - visual concepts tag the image, find human faces, approximate age and gender, and find similar images in a collection.
- IBM Watson Discovery: A cognitive search and content analytics engine for applications to identify patterns, trends, and actionable insights.
- IBM Watson Tone Analyzer: Uses linguistic analysis to detect communication tones in written text.
- Salesforce DX: An integrated, end-to-end platform designed for high-performance agile development.
- Apex: A strongly typed, object-oriented programming language that allows developers to execute flow and transaction control statements on the Lightning Platform server, in conjunction with calls to the API.