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
「AWSの勉強がてら、 LINEでBedrockを使ってみた話」2024.06/08 LINE...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
ayuki sugimoto
June 08, 2024
60
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
「AWSの勉強がてら、 LINEでBedrockを使ってみた話」2024.06/08 LINE Developer Community
ayuki sugimoto
June 08, 2024
More Decks by ayuki sugimoto
See All by ayuki sugimoto
Amazon Quickのアプリ機能を触ってみる
ayuki_sugimoto
0
11
20251220 - AI Builders Day - 地方局1人で内製する、 FAX・取材素材 → 記事原稿生成までのアプリケーション開発と運用
ayuki_sugimoto
1
1.7k
QuickSight Highchartsを説明したい!
ayuki_sugimoto
0
92
「M5StackとIoT Coreで お手軽IoTをやってみる」2024.06/07 jaws-sapporo
ayuki_sugimoto
0
60
「報道用の ニュース配信素材を 簡易に作成できる ツールを作った話」2023.11/15 media-jaws
ayuki_sugimoto
0
1.7k
「地方局がBedrock を使った 業務改善に 挑戦している話」2023.11/4 - AWSカーニバル
ayuki_sugimoto
0
1.9k
Featured
See All Featured
Code Review Best Practice
trishagee
74
20k
Making Projects Easy
brettharned
120
6.8k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
460
Typedesign – Prime Four
hannesfritz
42
3.2k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
230
Faster Mobile Websites
deanohume
310
32k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
The Curse of the Amulet
leimatthew05
3
15k
The agentic SEO stack - context over prompts
schlessera
0
940
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.1k
Transcript
すぎもと。 AWSの勉強がてら、 LINEでBedrockを使ってみた話
自己紹介 すぎもと。 AWS歴: 3年目 北海道のテレビ局で働いてます。 非エンジニア職
None
Step Functionsの勉強がてら、 Bedrockとかを使って return falseな上司とLINEしてみる。
AWS Step Functions
Webhook API Gateway Step Functions Bedrock Call third- party API
Amazon Bedrock Amazon Bedrock は、単一の API を介して AI21 Labs、Anthropic、Cohere、Meta、Mistral AI、
Stability AI、および Amazon といった大手 AI 企業 からの高性能な基盤モデル (FM) を選択できるフル マネージドサービスで、セキュリティ、プライバシ ー、責任ある AI を備えた生成 AI アプリケーション を構築するために必要な幅広い機能を提供します。 *公式抜粋
Anthropic Claude2.1 現在は、 Claude3 Haiku、 Claude3 Sonnet、 Claude3 Opus も使用できます。
Amazon Bedrock
Amazon Bedrock
{ "output.$": "States.Format('あなたは私の上司で す。\n私から、仕事に対しての提案をしますが、\n 強い口調かつ理不尽に、必ず否定して日本語で返答 してください。\n部下にものを言う感じで敬語は不 要です。{}', $.output.historyformat)", "oldprompt.$": "$.output.oldprompt"
}
None
サーバレスな友達が欲しかったの で、BedrockのHaikuとAmazon Titanを使って、LINEで「絵しりと り」を出来る友達を作る。
Amazon Bedrockの特徴でもある、複数の モデルを単一のAPIで使えるのを試したい。 Amazon Bedrock Claude3 Haiku (テキスト生成) amazon.titan-image-generator-v1 (画像生成) これらを連携して使おうという話。
しりとりをやりたがっているか判断する (Haiku) 1. 与えられた画像から、何を描いたか判断して単語を出力 (Haiku) 2. 出力した単語の最後の文字から始まる単語を考えて、英語と日本語を同時に出力 (Haiku) 3. 英語の単語を元に、画像を出力する(amazon
titan) 4. LINEに結果を出力する (Messaging API) 5. やった流れ
None
しりとりをやりたがっているか判断する (Haiku)
与えられた画像から、何を描いたか判断して単語を出力 (Haiku)
英語の単語を元に、 画像を出力する (amazon titan)
最終的には 造語作ってきたり、 「ん」で終わってるのに、 強行してきたりと…
という感じで、 ちょっとした勉強だったり開発だったりに LINEを使用しています。 フロント作らなくていいのはすごくありがたい。 以上です。