Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications
-
Upload
alchemyapi -
Category
Technology
-
view
2.439 -
download
3
description
Transcript of Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications
![Page 1: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/1.jpg)
Devin Harper@phdharp
Artificial Intelligence APIs: For Developers Who Must Build Smarter Applications
![Page 2: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/2.jpg)
Pioneer of web services for real-time text and image analysis
• Founded in 2005 • 40,000+ users • Used in 36+ countries • More than 3+ billion API calls monthly • Deep learning experts
![Page 3: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/3.jpg)
Devin Harper, AI Research Scientist AlchemyVision
Meet the Expert
#deeplearningseries
![Page 4: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/4.jpg)
What You’ll Learn Today
#deeplearningseries
1
2
3
![Page 5: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/5.jpg)
#deeplearningseries
What is Artificial Intelligence (AI)?
![Page 6: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/6.jpg)
We’re not talking about killer robots…
#deeplearningseries
![Page 7: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/7.jpg)
Speech Recognition Machine Translation
Computer Vision Natural Language Processing
Question Answering Machine Learning #deeplearningseries
The AI Revolution…
![Page 8: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/8.jpg)
#deeplearningseries
How are these methods being used?
![Page 9: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/9.jpg)
• Driving recommendation engines
• Statisticians derive structured data from ambiguous information
• E-commerce
• Advertising & social media marketing
• Google Dataflow
• Consumer Products
![Page 10: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/10.jpg)
#deeplearningseries
![Page 11: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/11.jpg)
#deeplearningseries
![Page 12: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/12.jpg)
#deeplearningseries
What APIs are available?
![Page 13: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/13.jpg)
AT&T provides a straightforward API to convert speech data to natural text.
https://developer.att.com/apis/speech "
Speech Recognition
AI APIs
#deeplearningseries
curl "https://api.att.com/speech/v3/speechToText" \!
--header "Authorization: Bearer {ACCESS_TOKEN}" \!
--header "Accept: application/json" \!
--header "Content-Type: audio/amr" \!
--data-binary @{PATH_TO_FILE} \!
--request POST
APP IDEA Medical personnel
transcribe dictation of pt. notes into text
![Page 14: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/14.jpg)
{! "Recognition": {! "Status": "Ok",! "ResponseId": "3125ae74122628f44d265c231f8fc926",! "NBest": [! {! "Hypothesis": "patient experiences chronic anxiety
! ! ! ! ! ! ! reaction to external stimulus",! "LanguageId": "en-us",! "Confidence": 0.9,! "Grade": "accept",! "ResultText": "patient experiences chronic anxiety
! ! ! ! ! ! ! reaction to external stimulus",! "Words": [! “patient", “experiences", “chronic”, “anxiety",! “reaction”, “to”, “external", "stimulus"! ],! "WordScores": [! 0.92, 0.73, 0.81, 0.96, 0.74, 0.97, 0.81, 0.69! ]! }! ]! }!}
![Page 15: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/15.jpg)
AlchemyAPI provides an API for generating a list of keywords based on an input image.
http://www.alchemyapi.com/products/alchemyvision/ "
Computer Vision
AI APIs
#deeplearningseries
wget -O tags --post-file image.jpg “http://access.alchemyapi.com/calls/image/ ImageGetRankedImageKeywords?apikey={API_KEY}&outputMode=json”!
APP IDEA Ecommerce -
consumer takes photo & receives
product recommendation
![Page 16: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/16.jpg)
{! "status": "OK",! "usage": "By accessing AlchemyAPI or using information generated …,! "totalTransactions": "4",! "imageKeywords": [ {! "text": "iphone",! "score": "0.99593"! },! {! "text": "apple",! "score": "0.622459"! }! ]!}
Computer Vision
AI APIs
#deeplearningseries
![Page 17: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/17.jpg)
Enables computers to derive meaning from human or natural language input (i.e. text, articles, chats, emails, etc.)
Natural Language Processing (NLP) AI APIs
#deeplearningseries
NLP determines… WHO, WHAT, WHEN, WHERE and WHY …in unstructured data.
Use it to: • Drive content recommendation
engines • Track sentiment on Twitter • Monitor social media for trends and
consumer preferences • Determine how people feel about a
your brand or product • Tag documents by topic • Perform contextual ad targeting
APP IDEA Stock tracker – Follow news & consumer
perception re: companies you care
about
![Page 18: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/18.jpg)
Natural Language Processing
AI APIs
#deeplearningseries
AlchemyAPI provides an extensive suite of NLP capabilities through REST APIs.
wget -O sentiment.txt “http://access.alchemyapi.com/calls/text/!
TextGetRankedNamedEntities?apikey={API_KEY}&outputMode=json&sentiment=1
&text=Google strengthens hardware expertise by acquiring Gecko Design”
wget -O entities.txt “http://access.alchemyapi.com/calls/url/
URLGetRankedNamedEntities?apikey={API_KEY}&outputMode=json&sentiment=1
&url=http://seekingalpha.com/news/1949845-google-strengthens-hardware-expertise-
by-acquiring-gecko-design”
Raw Text
Crawling a URL
![Page 19: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/19.jpg)
Natural Language Processing
AI APIs
#deeplearningseries
Try the demo: http://www.alchemyapi.com/products/demo/alchemylanguage/ "
{! "text": "Google strengthens hardware expertise by acquiring Gecko Design",! "entities": [! {! "type": "Company",! "relevance": "0.33",! "sentiment": {! "type": "positive",! "score": "0.639044"! },! "count": "1",! "text": "Google",! },! {! "type": "Company",! "relevance": "0.33",! "sentiment": {! "type": "positive",! "score": "0.639044"! },! "count": "1",! "text": "Gecko Design"! }! ]!}
![Page 20: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/20.jpg)
Other Services
AI APIs
#deeplearningseries
Machine Translation Use it to: translate foreign-language content for your users, translate forum posts or chats, translate customer support emails
Question Answering
Machine Learning
Use it to: leverage questions like "was this company acquired?" to trigger processes in data pipelines or GUI displays, answer questions from your own data
Use it to: predict a prospect's likelihood to convert based on historical data, analyze customer churn
APP IDEA Customer Service - Enable customer support in any
language https://cloud.google.com/products/translate-api "
http://products.wolframalpha.com/api/ "
https://bigml.com/developers/ "
![Page 21: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/21.jpg)
#deeplearningseries
EXAMPLE An AI-Driven App
![Page 22: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/22.jpg)
Better understand customer feedback
The Challenge
As an application developer for a customer support center, I want to process thousands of emails so that I can:
• Determine how customers feel about our brand
• Understand how customers’ feedback evolves over time
• Discover interesting trends within sales and support data
• Develop meaningful reports for VP of Customer Support that show trends across time and product lines
#deeplearningseries
![Page 23: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/23.jpg)
Build a customer support email analysis engine A Solution
What it will do: • Collect support email data • Process email content (uses AI) • Store data • Provide visual representation of
data for analysis
#deeplearningseries
![Page 24: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/24.jpg)
Basic Workflow
Customer Support Email Analysis Engine
#deeplearningseries
![Page 25: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/25.jpg)
#deeplearningseries
curl “https://www.googleapis.com/gmail/v1/users/[email protected]/messages/
147fe7dc5f9617e8?format=full&access_token={ACCESS_TOKEN}”
![Page 26: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/26.jpg)
#deeplearningseries
curl “https://www.googleapis.com/gmail/v1/users/[email protected]/messages/
147fe7dc5f9617e8?format=full&access_token={ACCESS_TOKEN}”
curl -o sentiment.txt “http://access.alchemyapi.com/calls/text/
TextGetTextSentiment&apikey={API_KEY}&outputMode=xml&text=I just love using the services
provided by AlchemyAPI”
![Page 27: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/27.jpg)
#deeplearningseries
curl “https://www.googleapis.com/gmail/v1/users/[email protected]/messages/
147fe7dc5f9617e8?format=full&access_token={ACCESS_TOKEN}”
INSERT INTO CustomerEmailSentimentTable (CustomerName, Domain, Text, Sentiment)
VALUES (‘WeLoveAlchemy’, ‘welovealchemy.com’, ‘I just love using the services provided by
AlchemyAPI’, ‘positive’)
curl -o sentiment.txt “http://access.alchemyapi.com/calls/text/
TextGetTextSentiment&apikey={API_KEY}&outputMode=xml&text=I just love using the services
provided by AlchemyAPI”
![Page 28: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/28.jpg)
#deeplearningseries
Enjoy the analysis!
wget -O sentiment.txt “http://access.alchemyapi.com/calls/url/TextGetTextSentiment&apikey={API_KEY}&outputMode=xml&text=Google strengthens hardware expertise by acquiring Gecko Design”
INSERT INTO CustomerEmailSentimentTable (CustomerName, Domain, Text, Sentiment) VALUES (‘WeLoveAlchemy’, ‘welovealchemy.com’, ‘I just love using the services provided by AlchemyAPI’, ‘positive’)
curl “https://www.googleapis.com/gmail/v1/users/[email protected]/messages/147fe7dc5f9617e8?format=full&access_token={ACCESS_TOKEN}”
![Page 29: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/29.jpg)
What We’ve Covered
#deeplearningseries
1
2
3
![Page 30: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/30.jpg)
What’s Next? Get Started
• Test deep learning with your own applications: Free API Key: http://www.alchemyapi.com/api/register.html
• Get started with the guide: http://www.alchemyapi.com/developers/getting-started-guide/
• SDKs available at: https://github.com/AlchemyAPI
• Need help? Contact [email protected]
Thursday, September 18 How Google Does It: Big and Fast
Semantic Analytics Pipelines
http://www.alchemyapi.com/how-google-does-semantic-analysis-webinar/
#deeplearningseries
![Page 31: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/31.jpg)
What’s Next? APIs Discussed Today
• AT&T Speech API - https://developer.att.com/apis/speech • AlchemyVision - http://www.alchemyapi.com/products/alchemyvision/
• AlchemyLanguage - http://www.alchemyapi.com/products/alchemylanguage/
• Google Translate - https://developers.google.com/translate/ • Wolfram Alpha - http://products.wolframalpha.com/api/
• BigML - https://bigml.com/developers/ • Visualization Services - https://developers.google.com/chart/,
http://matplotlib.org/contents.html
• JSON Libraries - http://json.org/, https://docs.python.org/2/library/json.html
#deeplearningseries
![Page 32: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/32.jpg)
#deeplearningseries
![Page 33: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/33.jpg)
Contact us 1-877-253-0308
[email protected] www.alchemyapi.com
You will receive an email with a recording of this webinar, the slides and additional resources soon.
Thank you for attending!
#deeplearningseries
![Page 34: Artificial Intelligence APIs: An Intro for Developers Who Must Build Smarter Applications](https://reader033.fdocuments.in/reader033/viewer/2022051323/54790162b379595e2b8b4631/html5/thumbnails/34.jpg)
http://www.globalcraze.com/2014/01/29/install-google-translate-to-chrome/ http://www.headstudios.com.au/arnold-schwaznagger-talked-to-me/ http://www.oddcast.com/technologies/voicerecognition/ http://www.iphonefaq.org/archives/971714 http://cached.imagescaler.hbpl.co.uk/resize/scaleWidth/620/offlinehbpl.hbpl.co.uk/news/OKM/EEC22411-CD1A-3BD3-2BCC0331BEA06AE2.jpg
Images
#deeplearningseries