SlideShare a Scribd company logo
1 of 21
Alexaと
ドコモAIエージェントAPI
を比べてみた
2020/3/14
nori
自己紹介
nori
業務はC#でWindowsアプリ開発をしてます
これまで作ったもの
• Chrome Extension「Markdown Links Creater」リリース
• アイドルマスターシンデレラガールズ総選挙応援用のWebサイト
• スマートスピーカーのスキル リリース
リリースしたスマートスピーカーのスキル
Clova ヤンデレちゃんトーク
• LINE BOOT AWARD 2018に応募
• 約120人とLINEで友達になりました
• LINE Clovaの公式ブログに紹介されました
http://clova-blog.line.me/ja/archives/15307662.html
Alexa 豆まきゲーム
• Amazon Alexa Developer スキルアワードに応募
• これまでで約100人に使って頂きました
課題
スマートスピーカーのスキルでは、
機械と話しているようで「対話感」が足りない。
声や表情などでキャラクター性を付ければ「対話感」が出る?
キャラクター性をつけた音声対話アプリをUnityで作ろう!
Unite Japan 2019を見ていて
NTTドコモがツンデレキャラを作ってVR握手会を実施
これはAI音声認識サービス「ドコモAIエージェントAPI」を使用。
広く言えばAlexaと同じ。
中の人がいない!? 音声対話型AIサービスを使ったバーチャルキャラクターの作り方 - Unite Tokyo 2019 より
https://youtu.be/Dg3REnzrIRQ
今日の話題
Alexaと
ドコモAIエージェントAPIは
どう違う?
Alexa
開発者がすることは
• Alexaの設定
• インテント (スキルの機能) を選ぶための発話例やスロット (変数) 等を定義
• バックエンド処理の実装
• Requestを解析し返答する文字列を含むResponseを作成
ドコモAIエージェントAPI
開発者がすることは
• ドコモAIエージェントAPIの設定
• トピック (エージェントの機能) を選ぶための発話例や返答する文字列等を定義
• 各デバイスの処理を実装
• SDKを使って実装
AlexaとドコモAIエージェントAPIの相違点
• ドコモAIエージェントAPIは音声IFに一貫性がある
• ドコモAIエージェントAPIは対話が作りやすい
• ドコモAIエージェントAPIはキャラクター性が作りやすい
• Alexaは単語の音声認識率が高い
音声認識サービスなので
Alexa
ドコモAI
エージェント
API
「ユーザーの発話によって1つのインテント/トピックが決まり
ただ1つの返答を返す」構成は同じ
サンプル発話
インテントを
呼び出す発話例
マッチング条件
トピックを
呼び出す発話例
相違点 音声IFの一貫性
Alexa
ドコモAI
エージェント
API
Alexaは既存の全デバイス共通のスキルがある
ドコモAIエージェントAPIはデバイス単位で一貫したIFを作成可能
デバイス専用 ある話題に特化
相違点 対話の作りやすさ
Alexa
スキルの定義
• alexa developer consoleでスキルを作成し、インテントを定義
相違点 対話の作りやすさ
Alexa
バックエンド処理を実装
• LambdaでRequestのJSONを解析して、Responseを作成する
"request": {
…
"intent": {
"name": “ColorIntent",
"slots": {
“color”: {
”name”: “color”,
“value”: “赤”,
…
}
}
}
}
音声認識サービスの設定とバックエンド処理がバラバラ
return handlerInput.responseBuilder
.speak(“赤は戦隊ものでリーダーを務める色”)
.getResponse();
colorの値が赤だった時のResponse例
解析
相違点 対話の作りやすさ
ドコモAIエージェントAPI
• Agentcraft™でエージェントを作成し、トピック・返答する文字列を定義
相違点 対話の作りやすさ
音声認識サービスの設定とバックエンド処理を
まとめられる
複雑な対話はエキスパートエージェントに任せる
メインエージェント: ノンプログラミングで作成
エキスパートエージェント: xAIMLで連携ボットを作成
ドコモAIエージェントAPI
• Agentcraft™でエージェントを作成し、トピック・返答する文字列を定義
相違点 キャラクター性の作りやすさ
ドコモAIエージェントAPI
• 声の種類は50種類以上と豊富
• 変数として親密度
(経過時間と利用回数から算出)
を持っている
Alexa
• 声の種類が2種類 (日本)
• SSMLで声を調整できるが、
統一感を出すのが難しい
• 利用回数はDB等と連携させて算出
Agentcraft™
ドコモAIエージェントAPIはキャラクター性が作りやすい
相違点 音声認識率
Alexa
• ドコモAIエージェントAPIより単語の認識率が高い
• リストスロットタイプ (単語一覧) を持っているため定義が簡単
ドコモAIエージェントAPIより指示の抽出がしやすく操作性が高い
Alexa developer console
色の名前 (赤、白、黄色…) が
予め定義されている
「赤について聞かせて」と言うとcolorに「赤」が入る
相違点 音声認識率
ドコモAIエージェントAPI
• Alexaより単語の認識率が悪い
• 単語一覧は自分で作らなければならない
Alexaより指示の抽出がしにくく操作性が低い
「赤について聞かせて」と言うと「朝」「歌」になってしまうことも
*公式のFQAでも単語ではなく文として認識すると上手くいくとある
Agentcraft™
相違点 音声認識率
• 色の種類が入りそうな文章にしてみる
「赤色について聞かせて」と言うと「赤」になる確率が上がった
Agentcraft™
まとめ
Alexaは
操作性に優れたサービスが作りやすい
• 単語の音声認識率が高い
ドコモAIエージェントAPIは
対話感を与えるサービスが作りやすい
• 音声IFに一貫性がある
• 対話が作りやすい
• キャラクター性が作りやすい
作ってみた
Unity + Live2D + ドコモAIエージェントAPIで
公式サンプルモデル「桃瀬ひより」と話してみる
導入方法: https://qiita.com/nori0__/items/1dd5ceaf402b87ea497a

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

AlexaとドコモAIエージェントAPIを比べてみた