Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
MA2016-Facebook Messenger Platform ハッカソン
Search
joohoun song
October 14, 2016
Technology
94
0
Share
MA2016-Facebook Messenger Platform ハッカソン
IBM Bluemix&IBM Watson API使い方説明資料
joohoun song
October 14, 2016
More Decks by joohoun song
See All by joohoun song
20161031_Pepper-Bluemixワークショップ
hunnycode
1
490
TechUP Makers-IBM Bluemix Watson API Hands-on
hunnycode
0
190
IBM Bluemixによる、Tweetデータ活用方法やツールのご紹介
hunnycode
0
370
IBM BluemixとSwift
hunnycode
0
230
IoTとクラウドセキュリティ(SoftLayer)
hunnycode
0
860
20160830-IBM Cloud Community #5
hunnycode
0
760
BlueHub紹介資料
hunnycode
0
82
IBM Cloud Community 勉強会 #2
hunnycode
0
600
2016.6.23 - IBMスタートアップ支援プログラム説明会
hunnycode
0
150
Other Decks in Technology
See All in Technology
生成 AI × MCP で切り拓く次世代 SRE!自律型運用への挑戦と開発者体験の進化
_awache
0
120
【Gen-AX】20260530開催_JJUG CCC 2026 Spring
genax
0
410
TypeScript Compiler APIとPHP-Parserを活用し、TypeScriptとPHPで型を共有する
shuta13
0
350
Java正規表現エンジン(NFA)の仕組みと パフォーマンスを維持するための最適化手法
takeuchi_132917
0
180
Cloud Run のアップデート 触ってみる&紹介
gre212
0
300
Platform engineering for developers, architects & the rest of us (AI agents)
danielbryantuk
0
180
新規事業を牽引する技術選定 〜フルスタックTypeScript開発の実践事例〜
nullnull
2
280
MIERUNE JCT 発表資料「宇宙から伊能忠敬ごっこ」
syuchimu
0
160
AIガバナンス実践 - 生成AIコネクタのデータ漏洩リスクと実務対策
knishioka
0
170
Javaで学ぶSOLID原則
negima
1
280
インフラが苦手でも大丈夫! 紙芝居 Kubernetes -WWGT 10周年編-
aoi1
1
340
美味しいスイスチーズを作ろう🧀🐭
taigamikami
1
230
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.6k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Raft: Consensus for Rubyists
vanstee
141
7.5k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
380
Ruling the World: When Life Gets Gamed
codingconduct
0
240
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
150
The Mindset for Success: Future Career Progression
greggifford
PRO
0
350
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
430
Statistics for Hackers
jakevdp
799
230k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Transcript
Facebook Messenger Platform ハッカソン @joohounsong
None
None
None
None
None
ようこそ、コグニティブの世界へ IBMが提供するコグニティブコンピュティング Watson APIのご紹介
CAMSS、5つの戦略分野と新しい時代のビジネス
Cognitive Computing “IBM Watson“
IBM Bluemixで提供されているWatson API
IBM Bluemix Watson APIの使い⽅ まず、インタフェースを確認してください。 左が「新」、右が「旧」になります。 今回のハンズオンでは、「新」で進みますので、「旧」が表⽰されている⽅は 「Try the new
Bluemix」から「新」インタフェースへ移動してください。
IBM Bluemix Watson APIの使い⽅ スペースの作成 スペースとは、CF(Cloud Foundry)の標準で「スペース」が適⽤されています。 スペースは、CF内で開発、ステージング、プロダクションなどの環境を切り替えるため 使⽤されるのと、⽬的に合わせて任意で作成することも可能です。 ①
リージョン(地域)を、⽶国南部を選択。 ②「スペース作成」からスペースを追加可能。 ③ 各アイテムのリストを表⽰。 ① ② ③
IBM Bluemix Watson APIの使い⽅ IBM Bluemixログイン → カタログへ移動
IBM Bluemix Watson APIの使い⽅ 検索欄に「watson」を⼊⼒ → Speech To Text選択
IBM Bluemix Watson APIの使い⽅ Conversation アプリケーションに⾃然⾔語インターフェースを追加してエンドユーザーとの やり取りを⾃動化します。 AlchemyAPI Web ページ、ニュース記事、およびブログに含まれるテキストのコンテンツと
コンテキストを理解するアプリケーションを構築。 Personality Insights トランザクション・データやソーシャル・メディアのデータから洞察を引き出し、 購買決定、意図、⾏動特性などを判別する⼼理的特性を識別 Visual Recognition 画像コンテンツに含まれる意味を検出します。 場⾯、対象物、顔のイメージ、およびその他のコンテンツを分析します。
IBM Bluemix Watson APIの使い⽅ Tone Analyzer Tone Analyzer は、認知⾔語分析に基づいて、⽂章レベルと⽂書レベルの両⽅において さまざまなトーンを検出
【テキストから検出できるトーン】 ・感情 (怒り、嫌悪、不安、喜び、悲しみ)、 ・社交性 (開放性、誠実性、外向性、協調性、情緒不安定性)、 ・⽂体 (分析的、確信的、あいまい) の 3 種類
IBM Bluemix Watson APIの使い⽅ Tone Analyzer 作成 サービス名を記⼊(任意) スペース選択 アンバインドのままでも問題なし。
IBM Bluemix Watson APIの使い⽅ この画⾯が表⽰されたら「再ステージ」をクリック
IBM Bluemix Watson APIの使い⽅ API利⽤準備完了!
IBM Bluemix Watson APIの使い⽅ API接続情報を取得
IBM Bluemix Watson APIの使い⽅ API接続情報を取得 このキー情報をテキストエ ディタなどにコーピーして ください。
IBM Bluemix Watson APIの使い⽅ 管理に移動して、資料をクリックしてください。
IBM Bluemix Watson APIの使い⽅ APIドキュメントに遷移されます。「API reference」を選択。
IBM Bluemix Watson APIの使い⽅
IBM Bluemix Watson APIの使い⽅ キーの設定 ・「②」をテキストエディタなどにコピーペー ・「①」のキー情報を設定。 ・取得した、⾃分の「Tone Analyzer」の passwordとusernameをコマンドに設定
・設定の際に「{」、「}」は不要 ① ②
IBM Bluemix Watson APIの使い⽅ curl -u "7898d8fd-d8fc-4d9a-a004-9af922150177":"UVppEHaSIcMD" "h>ps:// gateway.watsonplaIorm.net/tone-analyzer/api/v3/tone?version=2016-05-19&text=A%20word %20is%20dead%20when%20it%20is%20said,%20some%20say.%20Emily%20Dickinson"
このように設定 curlをターミナルで実⾏(上が実⾏⽂、下が結果(JSON))
IBM Bluemix Watson APIの使い⽅ curl -u “7898d8fd-d8fc-4d9a-a004-9af922150177”:“UVppEHaSIcMD” “h>ps:// gateway.watsonplaIorm.net/tone-analyzer/api/v3/tone?version=2016-05-19&text=嬉しい テキストを変更してみよう。
curlをターミナルで実⾏(上が実⾏⽂、下が結果(JSON))
None
None
None