Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Adrian Catalan - Party_like_it_s_1970 - Convers...
Search
droidcon Berlin
July 17, 2018
Programming
49
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Adrian Catalan - Party_like_it_s_1970 - Conversational_interfaces_are_back__into_your_Android_app
droidcon Berlin
July 17, 2018
More Decks by droidcon Berlin
See All by droidcon Berlin
Jon Markoff - Best practice for apps
droidcon_berlin_2018
0
230
Jon Markoff - Voice in the enterprise
droidcon_berlin_2018
0
87
Michael Jess - Enabling enterprise mobility with SAP
droidcon_berlin_2018
0
140
Ronen Sabag - Lean async code with Kotlin’s coroutines
droidcon_berlin_2018
0
91
Boris Farber & Nikita Kozlov - The_Build_Side_of_Android_App
droidcon_berlin_2018
0
220
Zan Markan - The state of Kotlin
droidcon_berlin_2018
0
88
Miquel Beltran - No More □ (tofu) Mastering Emoji on Android
droidcon_berlin_2018
0
150
Laurent Gasser & Jeremy Rochot - Sharing a success story - A low cost, Customer driven and co-developed Android EMM
droidcon_berlin_2018
0
340
Hoi Lam - Adding ML Kit to Android Things And some TensorFlow things
droidcon_berlin_2018
1
250
Other Decks in Programming
See All in Programming
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
260
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.2k
JRuby: Past, Present, and Future
headius
0
220
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
370
App Intentsのビルドプロセスを支える技術
kntkymt
0
490
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
110
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
380
iOSDCのペンライトを自動制御したい!
akkeylab
0
330
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
150
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
200
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
19
20k
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
310
Featured
See All Featured
Building Adaptive Systems
keathley
44
3.2k
Embracing the Ebb and Flow
colly
88
5.2k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
960
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
A designer walks into a library…
pauljervisheath
211
25k
The Cost Of JavaScript in 2023
addyosmani
55
10k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
270
Joys of Absence: A Defence of Solitary Play
codingconduct
1
530
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
310
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Transcript
PARTY LIKE IT'S 1970: CONVERSATIONAL INTERFACES ARE BACK (INTO YOUR
APP) Adrián Catalán @ykro https://goo.gl/yYoRAs
(very) BRIEF HISTORY LESSON #DCBERLIN18
• 1952 - Audrey(Bell Labs), recognized strings of digits •
1970 – Hidden Markov Model (HMM), which helped speech recognition move away from literal matching to prediction • 70's - DARPA Projects
• 80's - Template based brute-force & HMM become popular
• 1984 – Speechworks, Automated Speech Recognition over IVR • 90's - Industry starts
• 1997 - Dragon NaturallySpeaking, recognition of continuous speech •
2007 - Siri • 2014 - Amazon Echo • 2016 - Google Home
DESIGN PROCESS #DCBERLIN18
https://www.pexels.com/photo/fashion-sunglasses-woman-girl-46244/ CREATE A PERSONA
https://www.pexels.com/photo/red-vintage-shoes-sport-1994/ • Tone • Style • Word and phrase choices
• Technique • Voice • Functional design
https://www.pexels.com/photo/wood-explosion-fire-hot-8504/ DESTROY THE BOX!
TRADITIONAL THINKING WON’T HELP
https://www.flickr.com/photos/81909228@N07/36169378343 WRITE A SCREENPLAY
https://www.pexels.com/photo/ball-close-up-colors-dark-593467/ COOPERATION! Turn-taking Context Threading “Reading between the lines”
https://www.flickr.com/photos/16105375@N00/1764118705 THERE ARE NO ERRORS
REAL LIFE CAN, SOMETIMES, SUCK... http://depts.washington.edu/antiwar/may1970strike.shtml
UNDERSTANDING IS KEY http://depts.washington.edu/antiwar/may1970strike.shtml
USERS RULE!
THEY KNOW HOW TO TALK
THEY KNOW WHAT THEY WANT
THEY WANT TO HELP
CONTEXT MATTERS
BACK UP PLAN
USER GOOGLE ASSISTANT NUMBER GENIE USER NUMBER GENIE USER NUMBER
GENIE Canonical “Happy path” First time experience Tapered experience (Return user) Repair SAMPLE DIALOGS
SAMPLE DIALOGS USER GOOGLE ASSISTANT NUMBER GENIE USER NUMBER GENIE
USER NUMBER GENIE Canonical “Happy path” First time experience Tapered experience (Return user) Repair
SNACKS #DCBERLIN18
• Avoid written language and use spoken one • Kick
off the conversation
• Guide user through the conversation • Keep our TTS
(Text to speech) short and clear
• Avoid data points unrelated to user query • Follow
natural turn taking in the conversation
• Use conversational makers
ADDING MACHINE LEARNING #DCBERLIN18
“ — — @
https://dialogflow.com/docs/agents
INVOKE Say Hello Start the experience with the agent
INTENT
TRAINING PHRASES
ENTITIES
FULLFILLMENT Backend APP
RESPONSE
CONTEXT move between intents achieve more fluid conversations
Integrating with AIService class MainActivity : AppCompatActivity(), AIListener { val
config = AIConfiguration( "ACCESS_TOKEN", ai.api.AIConfiguration.SupportedLanguages.English, AIConfiguration.RecognitionEngine.System ) aiService = AIService.getService(this, config) aiService.setListener(this) btnListen.setOnClickListener { aiService.startListening() } }
override fun onResult(response: AIResponse?) { var strParameters = "" val
result = response?.result result?.parameters?.let { params -> params.forEach { key, value -> strParameters += "($key,$value)" } txtResult.text = "Query: ${result.resolvedQuery}" + "\nAction: ${result.action}" + "\nParameters: $strParameters" } } Integrating with AIService
PARTY LIKE IT'S 1970: CONVERSATIONAL INTERFACES ARE BACK (INTO YOUR
APP) Adrián Catalán @ykro https://goo.gl/yYoRAs