Giter Site home page Giter Site logo

remileguin / einstein-intents Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 24 KB

Proof of Concept using the Salesforce Einstein Intents API to qualify cases coming from emails based on their description (the body of the email message).

Apex 100.00%
einstein salesforce intents ai artificial-intelligence

einstein-intents's Introduction

Einstein Intents

Proof of Concept using the Salesforce Einstein Intents API to qualify cases coming from emails based on their description (the body of the email message).

Installation:

Install the unlocked package by clicking one of the following URLs:

Test:

Try to create a case with an 'Email' origin and the following description:

Hello, I would like to change to change my name from John to Jane. Best regards

Wait for the Apex job to finish and refresh the case page. The 'Type' field will be updated with the 'Name change' value.

Salesforce interrogated the Einstein API which analyzed the case description. It determined that the case is about a change of name based on a dataset of previous similar requests.

Administration:

If you want to administrate the account and see the dataset using the Einstein platform, please follow this Trailhead module.

Follow these configuration steps:

  1. Install the AppExchange: Einstein Vision and Language Model Builder.
  2. Then, in the 'Einstein Admin' tab of the app, inform '[email protected]' as the email address and upload the PEM private key from the 'assets' folder of this Git repository.

More documentation in the metamind.io website.

Improvements:

It would be better to use a named credential to authenticate with the JWT method to the Einstein API. I tried (the configuration remains in the repository) but I cannot upload the Einstein certificate in the Salesforce 'Certificate and Key Management' setup menu. As the Einstein platform just gives a PEM private key, it is not accepted as a valid JKS (Java Keystore) once converted.

I did not code the test classes to cover the Apex code.

einstein-intents's People

Contributors

remileguin avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.