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
1.1k
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
Rist_Meetup_Kaggleは業務の役にたつ - ビジネスコンテンツ情報を活用する BtoB 事業編 - / rist-meetup-20241012
taro_masuda
1
370
AIとともに歩んだライブラリアップデートの道のり/ vue-fes-japan-2024-link-and-motivation
lmi
2
2.5k
インシデント対応の 実践と品質文化の醸成
____rina____
1
200
巨大企業でDX革新を起こすということ BTCONJP 2024
yamaken66
1
490
JBoss EAPによるクラウドネイティブのススメ
chiroito
0
150
안드로이드 기술 이력서의 최소 조건
pluu
1
1.2k
生成AI入門
shukob
0
170
20241017_俺たちは雰囲気で scope をやっているけどもうちょっとなんとかならんのか?
tokai235
0
420
開発健全性の可視化と開発者体験の改善 ~ Compassでエンジニアに活力と生産性を ~
atlassianjapan
0
100
Microsoft 365 でデータセキュリティを強化しよう
sophiakunii
2
490
GopherのMakefile愛はどこからきているのか教えてほしい #fukuokago/Gophers love Makefile
quiver
2
160
JPOUG_10_20241018_OracleDB_AWS_v1.3.pdf
asahihidehiko
1
200
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
39
2.4k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
225
22k
How to train your dragon (web standard)
notwaldorf
88
5.6k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
7.7k
Gamification - CAS2011
davidbonilla
80
5k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
504
140k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
9
650
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.8k
GitHub's CSS Performance
jonrohan
1030
460k
Documentation Writing (for coders)
carmenintech
65
4.4k
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 心の声」より
ありがとうございました!