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
64
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
Transcript
20 slides
すぎもと。 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を使用しています。 フロント作らなくていいのはすごくありがたい。 以上です。
More Decks by ayuki sugimoto
See All by ayuki sugimoto
Amazon Quickのアプリ機能を触ってみる
ayuki_sugimoto
0
16
20251220 - AI Builders Day - 地方局1人で内製する、 FAX・取材素材 → 記事原稿生成までのアプリケーション開発と運用
ayuki_sugimoto
1
1.8k
QuickSight Highchartsを説明したい!
ayuki_sugimoto
0
100
「M5StackとIoT Coreで お手軽IoTをやってみる」2024.06/07 jaws-sapporo
ayuki_sugimoto
0
64
「報道用の ニュース配信素材を 簡易に作成できる ツールを作った話」2023.11/15 media-jaws
ayuki_sugimoto
0
1.8k
「地方局がBedrock を使った 業務改善に 挑戦している話」2023.11/4 - AWSカーニバル
ayuki_sugimoto
0
2k
Featured
See All Featured
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
1
300
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
560
Are puppies a ranking factor?
jonoalderson
2
4.2k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
550
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
460
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Ruling the World: When Life Gets Gamed
codingconduct
0
440
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
470
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
60k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
340