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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
tubone(Yu Otsubo)
June 18, 2024
Technology
1.9k
1
Share
Agentは楽しいぞ
Bedrock Claude Night 2(JAWS-UG AI/ML支部 × 東京支部コラボ)
で喋ったやつ
tubone(Yu Otsubo)
June 18, 2024
More Decks by tubone(Yu Otsubo)
See All by tubone(Yu Otsubo)
Langfuse v3 使ってますか?【Langfuse Night#1】
tubone24
2
930
【お子さま向け】Amazon ECS サービスディスカバリーって知ってる?【楽しい読み聞かせ】
tubone24
8
980
Amazonの最新モデルを使ってみよう
tubone24
1
91
Amazon CloudWatch Synthetics now supports Playwright runtime to create canaries with NodeJS の使い所を考える
tubone24
1
220
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
680
Other Decks in Technology
See All in Technology
その英語学習、AWSで代替できませんか?
suzutatsu
1
180
実例から学ぶ GuardDuty(SSH BruteForce)調査の全体フローと勘所【SecurityJAWS】
cscengineer
PRO
0
170
RedmineをAIで効率的に使う検証
yoshiokacb
0
160
Geek Woman の育ち方 〜コミュニティとAIと〜
chicaco
0
120
Python開発環境にハーネス適用を検討する
yuuka51
0
190
React Compiler導入から21ヶ月、いま始めるならこうやる
astatsuya
2
280
"スキルファースト"で作る、AIの自走環境
subroh0508
1
650
O'Reilly Infrastructure & Ops Superstream: Platform Engineering for Developers, Architects & the Rest of Us
syntasso
0
320
ルール・ロール・ツールを創る / Creating Rules, Roles and Tools
ks91
PRO
0
140
いつの間にかデータエンジニア以外の業務も増えていたけど、意外と経験が役に立ってる
zozotech
PRO
0
740
エムスリーテクノロジーズ株式会社 エンジニア向け紹介資料 / M3 Technologies Company Deck
m3_engineering
0
200
R&D 祭 2024 アニメエフェクト作成の効率化
olmdrd
PRO
0
110
Featured
See All Featured
Fireside Chat
paigeccino
42
3.9k
SEO for Brand Visibility & Recognition
aleyda
0
4.5k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
700
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
130
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
180
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.4k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
360
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
Making Projects Easy
brettharned
120
6.6k
How to build a perfect <img>
jonoalderson
1
5.5k
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 心の声」より
ありがとうございました!