Salesforce Apex Hours: Einstein Intent
-
Upload
amit-chaudhary -
Category
Education
-
view
146 -
download
9
Transcript of Salesforce Apex Hours: Einstein Intent
Farmington Hills Salesforce Developer User
Group
Salesforce Apex Hours :-Einstein Intent
#SalesforceApexHours #FarmingtonHillsSFDCDug
Speaker :- Daniel Peter(Salesforce MVP), Amit Chaudhary
Date :- Saturday, OCT 28, 2017 11:00 AM EST
Venue/Link :- Online
Who am I ?
Amit Chaudhary
• Active on Salesforce Developer Community
• Blogging at http://amitsalesforce.blogspot.in/
• Co-Organizer of :- FarmingtonHillsSFDCDug
• Salesforce MVP
Our Speaker
Daniel Peter
2x Salesforce MVP
22x Salesforce Certified
Lead Applications Engineer, Kenandy
Bay Area Salesforce Developer Group
Organizer
Einstein Intent and the bigger picture
Einstein Platform ServicesEinstein Vision
Einstein Image Classification
Einstein Object Detection (Beta)
Einstein Language (Beta)Einstein Sentiment (Beta)
Einstein Intent (Beta)
Authentication to access the APIs
▶ One time (key): RSA Private Key – download
▶ Ongoing (token): OAuth 2.0 JWT bearer token flow
Sign up, get your RSA Private Key
▶ https://api.einstein.ai/signup
Use your key to get a token
https://github.com/salesforceidentity/jwt/bl
ob/master/JWT.apex
Easy way to get the token…
▶ https://api.einstein.ai/token
Intent Datasets
▶ CSV / TSV
▶ JSON
Intent Datasets
(location) Local Upload Remote URL
(format) CSV TSV JSON CSV TSV JSON
(transaction)
Sync 1 2 3 4 5 6
Async 7 8 9 10 11 12
Uploading datasets – 12 ways!
DEMO
Evaluating the ModelEvaluating the Model
1) Overall Accuracy Percentage train and test
2) F1 for each label3) Confusion Matrix
(wikipedia)
Data Prep Considerations
Might need to clean / combine / reclassify /
de-dupe your examples and labels
You need at least 5 examples per label
Duplicate examples will only be added in the
first label they appear in
Labels can only be 180 characters. They
don’t need to be words.
Examples needs to be words to produce a
decent model.
Thank You
Thank you for attending the session.
Follow Farmington Hills SFDC Developer Group
Twitter Hashtag
#FarmingtonHillsSFDCDug
Meetup.com
https://www.meetup.com/Farmington-Hills-Salesforce-Developer-
Meetup/
Facebook Page
https://www.facebook.com/FarmingtonHillsSfdcdug/?ref=bookmarks