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
Chunk computing
matyo91
0
270
SHIFTの課題と目指したい組織像 / 20240827 Rinto Ikenoue
shift_evolve
0
140
ログラスが面白いと思う理由をマネージャーがエモく語ってみる / 20240829 vs LT
yoshikiiida
1
520
分野に潜むツールの紹介
pojiro
1
330
中規模・ミドルTier開発組織におけるDevRelの戦略と実行と成果 - DevRel Guild Conference Mini -
leveragestech
2
260
Discover Your Tailored Platform Strategy with Real-World Practice
hhiroshell
1
130
技術ブログや登壇資料を秒で作るコツ伝授します
minorun365
PRO
17
4.5k
Oracle Database 23ai 新機能 #3 Oracle Globally Distributed Database(GDD)
oracle4engineer
PRO
1
160
Dive Deep in Cloud Run: Automatic Base Image update
aoto
PRO
0
900
CRTO/CRTL/OSEPの比較・勉強法とAV/EDRの検知実験
chayakonanaika
0
300
AWS版GitHub?Amazon CodeCatalystの全体像をまとめてみた
oshanqq
1
3.2k
なぜクラウドサービスで Web コンソールを提供するのか
shuta13
4
1.6k
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
28
2.2k
Facilitating Awesome Meetings
lara
49
5.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
33
1.7k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
278
13k
Ruby is Unlike a Banana
tanoku
96
10k
Embracing the Ebb and Flow
colly
83
4.4k
Testing 201, or: Great Expectations
jmmastey
35
6.9k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
38
9.1k
Rails Girls Zürich Keynote
gr2m
93
13k
The Cost Of JavaScript in 2023
addyosmani
39
5.1k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
248
20k
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 心の声」より
ありがとうございました!