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
Agentは楽しいぞ
Search
tubone(Yu Otsubo)
June 18, 2024
Technology
0
980
Agentは楽しいぞ
Bedrock Claude Night 2(JAWS-UG AI/ML支部 × 東京支部コラボ)
で喋ったやつ
tubone(Yu Otsubo)
June 18, 2024
Tweet
Share
Other Decks in Technology
See All in Technology
EitherT_with_Future
aoiroaoino
0
480
Building Static Websites with Sculpin
opdavies
0
1.4k
Dojo 20240830 COBOL to Java on Z
ichikawayasuhisa
0
240
エンジニア採用を起点に取り組む組織の改善活動と課題、中長期のタスク管理/ #HRmethod
nishiuma
4
3.3k
夏休みの(最後の)宿題 for JuliaTokyo #12
antimon2
0
130
Evolving DevOps Teams and Flexible Organizational Culture
kakehashi
1
140
標準ライブラリの奥深アップデートを掘り下げよう!
logica0419
2
400
20240828_EM_Fest
kzkmaeda
4
360
Our Journey from in-House CD System to Open Source
ffjlabo
0
100
PlaywrightによるE2Eテスト入門 / Introduction to E2E Testing with Playwright
rhumie
3
920
FastConnect の冗長性
ocise
0
7.1k
歴史と背景から改めて振り返るVPC
shotashiratori
2
220
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
263
13k
Art, The Web, and Tiny UX
lynnandtonic
294
20k
Atom: Resistance is Futile
akmur
261
25k
What the flash - Photography Introduction
edds
67
11k
Robots, Beer and Maslow
schacon
PRO
157
8.1k
Optimizing for Happiness
mojombo
375
69k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
34
1.9k
Designing for humans not robots
tammielis
248
25k
Build The Right Thing And Hit Your Dates
maggiecrowley
29
2.2k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Fantastic passwords and where to find them - at NoRuKo
philnash
47
2.7k
How To Stay Up To Date on Web Technology
chriscoyier
785
250k
Transcript
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 心の声」より
ありがとうございました!