• Aarthy Kumaravel
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi, I tried the CURL commands for Einstein Language Intent following the examples in https://metamind.readme.io/ for uploading datasets, training them and predicting and they worked just fine in bash Terminal. However, I'm unable to find the method in HttpRequest class in Apex to replace -F in curl commands like in the example
curl -X POST -H "Authorization: Bearer <TOKEN>" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data" -F "path=http://einstein.ai/text/case_routing_intent.csv" -F "type=text-intent" https://api.einstein.ai/v2/language/datasets/upload

Please help me implement Language Intent.
Hi, I tried the CURL commands for Einstein Language Intent following the examples in https://metamind.readme.io/ for uploading datasets, training them and predicting and they worked just fine in bash Terminal. However, I'm unable to find the method in HttpRequest class in Apex to replace -F in curl commands like in the example
curl -X POST -H "Authorization: Bearer <TOKEN>" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data" -F "path=http://einstein.ai/text/case_routing_intent.csv" -F "type=text-intent" https://api.einstein.ai/v2/language/datasets/upload

Please help me implement Language Intent.
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