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
Agentは楽しいぞ
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
tubone(Yu Otsubo)
June 18, 2024
Technology
2k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Agentは楽しいぞ
Bedrock Claude Night 2(JAWS-UG AI/ML支部 × 東京支部コラボ)
で喋ったやつ
tubone(Yu Otsubo)
June 18, 2024
Transcript
36 slides
Bedrock Claude Night2! Agent tubone24 (@meitante1conan)
@meitante1conan LLM 3 DX Yu Otsubo (tubone24)
それは突然やってくる!!!
AI Product いい感じの社内向け 作ってよ
いい感じ...?
AI Product Web LLM Agent ? ※ここでいうAgentとはReAct logicで動くLLMアプリケーションをLangChainで構築したものを指します
Bedrock Claude Night2! Agent tubone24 (@meitante1conan)
Autonomous Agent( ) Autonomous Agent Franklin, Stan and Graesser, Art
(1997) "Is it an Agent, or just a Program?: A Taxonomy for Autonomous Agents," いい感じに考え、 行動するやつ
Intermediate Steps Tool Lookup Final Answer ReAct-based LangChain Agents Input
Google Calucurator Python Evaluate Need more info &OPVHI
でもでも...?
Agent Agent LLM Web Python ( ) LLM Web LLM
Agent ... Agent Retriever Memory Agent
Intermediate Steps Tool Lookup Final Answer ReAct-based LangChain Agents! ✨
Input Google Retriever xxxx Evaluate Need more info &OPVHI Memory
では作ってみましょう..!!
簡単に作れます
でも課題あり
Web search(Tool) Google 組み込めますが課題あり...!!! https://python.langchain.com/v0.2/docs/integrations/tools/google_search/
Retriever Tool Retriever Agent https://python.langchain.com/v0.1/docs/use_cases/question_answering/conversational_retrieval_agents/#retriever-tool
Knowledge Bases for Amazon Bedrock Knowledge Bases Agent 組み込めますが課題あり...!!!
ConversationBufferMemory LangChain ConversationBufferMemory 組み込めますが課題あり...!!!
Intermediate Steps Tool Lookup Final Answer 1: Google Input Google
Knowledge base xxxxx Evaluate Need more info &OPVHI Memory
1: Google
Intermediate Steps Tool Lookup Final Answer 2: Knowledgebase Input Google
Knowledge base xxxxx Evaluate Need more info &OPVHI Memory
2: Knowledgebase LangChain AmazonKnowledgeBasesRetriever metadata agent scratchpad
Intermediate Steps Tool Lookup Final Answer 3: Agent Memory Input
Google Knowledge base xxxxx Evaluate Need more info &OPVHI Memory
3: Agent Memory Memory OpenAI
どうする...?
ドキュメント⾒る
Claude3 Opus Docs Opus XML https://docs.anthropic.com/ja/docs/use-xml-tags#xml
なければ実装する!!! と 言 っ て も ち ょ っ と
し た 文 字 列 の 整 形 だ け で す . . !
Google search XML GoogleSearch XML
boto3 KB XML LangChain boto3
XML ... XML ... https://gist.github.com/tubone24/4ef910b152bc1017da36e7d7354e906d
Opus Opus Agent ...!!! 社内の反応も上々 ..!!
🐾 AWS !!!
今日覚えて帰ってほしいこと LangChainをちょ っといじって Opus使えば Agentは業務で も使えるよ! 「tubone 心の声」より
ありがとうございました!
More Decks by tubone(Yu Otsubo)
See All by tubone(Yu Otsubo)
Langfuse v3 使ってますか?【Langfuse Night#1】
tubone24
2
1.1k
【お子さま向け】Amazon ECS サービスディスカバリーって知ってる?【楽しい読み聞かせ】
tubone24
8
1k
Amazonの最新モデルを使ってみよう
tubone24
1
110
Amazon CloudWatch Synthetics now supports Playwright runtime to create canaries with NodeJS の使い所を考える
tubone24
1
270
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
720
Other Decks in Technology
See All in Technology
OCI Artifact による自動運転タクシーに向けた OTA 基盤の構築
biwashi
0
130
パスワードのない鍵で、 データを手元に置く
ginjihayashi
0
370
Agent Routerで作るマルチテナント 推論基盤 #CNDW2026 / Building Multi-Tenant Inference Platform with Agent Router #CNDW2026
everpeace
3
390
業務の傍らで進める改善ループエンジニアリング
bengo4com
1
200
統制されたID・権限をどう利用するか : DPoP/FAPIによるAPIセキュリティ強化
oidfj
1
190
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
210
閉域網でのAPI公開の選択肢全部比較!
takano0131
4
570
Datadog の権限統制 〜Org 統合に向けて調べた注意点 / JDDUG-Meetup_24
visional_engineering_and_design
1
190
Amazon Bedrock AgentCore の基礎とセキュリティ・ガバナンス
ren8k
0
160
マネジメントされる側の仕事は「文句」を言うこと
riyaamemiya
7
5.8k
3文字略語に騙されない! 世界一わかりやすい『EDR』超入門
kamadamakoto
1
270
おうち環境でも「なるべく止めたくない!」 ― おうち環境の機器冗長化の理想と現実
yuutosi
1
610
Featured
See All Featured
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
560
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
570
Marketing to machines
jonoalderson
1
6k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
520
HDC tutorial
michielstock
2
1k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
580
Typedesign – Prime Four
hannesfritz
42
3.2k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
380
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.2k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
エンジニアに許された特別な時間の終わり
watany
109
250k