Code Samples and Learning Resources
-
salesforce-einstein-platform-apex—GitHub repo that contains code for an Apex-based wrapper for both the Einstein Vision APIs and the Einstein Language APIs.
-
salesforce-einstein-vision-java—GitHub repo that contains code for a Java-based wrapper for the Einstein Image Classification API.
-
salesforce-einstein-vision-swift—GitHub repo that contains code for a Swift-based wrapper for the Einstein Image Classification API.
-
salesforce-einstein-object-detection-mobile-example—GitHub repo that contains code for a sample mobile app that uses the Einstein Object Detection API.
-
Einstein Vision Quick Start Code Samples—GitHub repo that contains Java and Ruby code samples that show you how to generate a JWT access token, refresh a token, and make a prediction using the Einstein Image Classification API.
-
EinsteinVisionPython—GitHub repo that contains code for a Python-based wrapper for the Einstein Image Classification API.
-
einstein-ai—GitHub repo that contains objects and code that you can use to access Einstein Vision and Einstein Language from Salesforce.
-
einstein-scala-lib—GitHub repo that contains the code for a Scala-based wrapper for the Einstein Vision APIs.
-
einstein-go-apis—GitHub repo that contains the code for a Golang-based wrapper for the Einstein Vision and Einstein Language APIs.
Note: Avoid security vulnerabilities and CVEs by using the latest versions of code libraries and dependencies in any sample code.
-
Quick Start: Einstein Image Classification—Step through using Apex to create a simple app that calls the Einstein Image Classification API to recognize and classify images.
-
Einstein Intent API Basics—Go step-by-step through the process to create a model to categorize text using the Einstein Intent API.
-
Build a Cat Rescue App That Recognizes Cat Breeds—Use Einstein Vision and Lightning Components to create an app to classify images.
-
Salesforce Einstein Basics—Discover insights and predict outcomes with this powerful set of AI-enhanced features.
-
Deep Learning and Natural Language Processing—Get an introduction to natural language processing and the basics of deep learning.
-
Einstein Vision and Language Model Builder—An AppExchange package that provides a UI for the Einstein Vision and Language deep learning APIs. You can easily create datasets, build models, and make predictions all from Salesforce.
-
Einstein Vision and Language Model Builder Open Source—The open source version of the Einstein Vision and Language Model Builder.
-
Einstein Intent Assessor—An Einstein Analytics template, available on AppExchange, that helps you visualize the accuracy of your Einstein Intent models. You can identify specific labels and utterances that your model classifies with less accuracy.
-
Iris EV—An iOS app that enables you to use your device to take pictures, label them, and upload them as dataset examples for Einstein Vision image classification.