• Siva Ramesh 1
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 8
    Replies
I have been trying to use the Intent Web Service and I am able to get a 200 and Response when I POST from cURL and SOAPUI. However, when I construct the request body in APEX and POST am getting a Error - 400 which is a generic BAD request response. I have inspected the requests from cURL and my Apex anonymous code and both are identical. Not sure why I am getting this error. With limited error message details (since Language is still in Beta) am unable to proceed. Below are screenshots from requestbin -

POST from Salesforce -

User-added image

POST from cURL -

User-added image
I have been trying to use the Intent Web Service and I am able to get a 200 and Response when I POST from cURL and SOAPUI. However, when I construct the request body in APEX and POST am getting a Error - 400 which is a generic BAD request response. I have inspected the requests from cURL and my Apex anonymous code and both are identical. Not sure why I am getting this error. With limited error message details (since Language is still in Beta) am unable to proceed. Below are screenshots from requestbin -

POST from Salesforce -

User-added image

POST from cURL -

User-added image
EINSTEIN LANGUAGE IS BETA!
We're excited to announce Einstein Language, a powerful set of new APIs that allow developers of all skill levels to integrate natural language processing into their applications. Developers can now leverage two new APIs, Einstein Sentiment and Einstein Intent, to unlock powerful insights within text.
 
EINSTEIN LANGUAGE
Build smarter apps with natural language processing.
• Einstein Sentiment (Beta) allows developers to classify the sentiment of text into positive, negative, and neutral classes.
• Einstein Intent (Beta) is a customizable natural language processing service that allows developers to categorize unstructured text into user defined labels to better understand and prioritize customers’ needs across channels. 
 
• Einstein Language Technical Docs: https://metamind.readme.io/docs/intro-to-einstein-language

Please use this forum to provide feedback, success stories, and service questions.

-Einstein.ai Team