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
LangChain Toolsの運用と改善
Search
peisuke
April 25, 2023
Technology
4
2.6k
LangChain Toolsの運用と改善
2023/4/25 LLM(GPT, PaLM等) with MLOps LT大会!!! 発表資料
peisuke
April 25, 2023
Tweet
Share
More Decks by peisuke
See All by peisuke
LangGraphで始めるマルチエージェントシステム
peisuke
13
4k
AutoGenで作るLLM Agen
peisuke
1
1.4k
Self-RAG: Learning to Retrieve, Generate and Critique through Self-Reflections
peisuke
9
1.4k
Mip-NeRF 360: Unbounded Anti-Aliased Neural Radiance Fields
peisuke
0
9.5k
GNeRF: GAN-based Neural Radiance Field without Posed Camera
peisuke
1
730
TTS Skins: Speaker Conversion via ASR
peisuke
0
370
A Quantum Computational Approach to Correspondence Problems on Point Sets
peisuke
0
670
F0-Consistent Many-to-many Non-parallel Voice Conversion via Conditional Autoencoder
peisuke
0
180
YOLACT real-time instance segmentation
peisuke
1
260
Other Decks in Technology
See All in Technology
継続的にアウトカムを生み出し ビジネスにつなげる、 戦略と運営に対するタイミーのQUEST(探求)
zigorou
0
590
生成AIのガバナンスの全体像と現実解
fnifni
1
190
5分でわかるDuckDB
chanyou0311
10
3.2k
Turing × atmaCup #18 - 1st Place Solution
hakubishin3
0
490
KnowledgeBaseDocuments APIでベクトルインデックス管理を自動化する
iidaxs
1
270
How to be an AWS Community Builder | 君もAWS Community Builderになろう!〜2024 冬 CB募集直前対策編?!〜
coosuke
PRO
2
2.8k
フロントエンド設計にモブ設計を導入してみた / 20241212_cloudsign_TechFrontMeetup
bengo4com
0
1.9k
LINE Developersプロダクト(LIFF/LINE Login)におけるフロントエンド開発
lycorptech_jp
PRO
0
120
Amazon Kendra GenAI Index 登場でどう変わる? 評価から学ぶ最適なRAG構成
naoki_0531
0
110
20241220_S3 tablesの使い方を検証してみた
handy
4
610
DevFest 2024 Incheon / Songdo - Compose UI 조합 심화
wisemuji
0
110
ゼロから創る横断SREチーム 挑戦と進化の軌跡
rvirus0817
2
270
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
66k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Building Your Own Lightsaber
phodgson
103
6.1k
Adopting Sorbet at Scale
ufuk
73
9.1k
RailsConf 2023
tenderlove
29
940
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
Building Applications with DynamoDB
mza
91
6.1k
A Tale of Four Properties
chriscoyier
157
23k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Writing Fast Ruby
sferik
628
61k
Transcript
LangChain Toolsͷӡ༻ͱվળ !QFJTVLF
ࣗݾհ ໊લɿ౻ຊ ܟհ ॴଐɿ"#&+"ʢ-BCTʣ ෭ۀɿ.-Λத৺ʹ૬ஊ͔Β։ൃ·Ͱͬͯ·͢ ੋඇ͓͕͚Լ͍͞ ׆ಈɿ5XJUUFS!QFJTVLF (JUIVC IUUQTHJUIVCDPNQFJTVLF 2JJUB
IUUQTRJJUBDPNQFJTVLF 4MJEF4IBSF IUUQTXXXTMJEFTIBSFOFU'VKJNPUP,FJTVLF গ͚ͩ͠ॻ͍ͯ·͢
ࠓճͷςʔϚʹ͍ͭͯ • --.୯ಠͩͱ༻్ʹݶք͕͋Γɺ֎෦πʔϧͱͷ࿈ܞ͕େࣄ • -BOH$IBJO5PPMTͷՄೳੑ͕ੌ͍ • 5PPMΛݺͼग़ͨ͢Ίʹઃఆ͢Δ%FTDSJQUJPOΛɺ.-ͷϊϦͰ ςετɾमਖ਼Λ͢ΔΈͷఏҊͱ࣮ݧ
--.ͷݶք • --.୯ಠͰ༻ͨ͠߹ͷݶք • ֶश͍ͤͯ͞ͳ͍σʔλʹରԠͰ͖ͳ͍ͨΊɺϦΞϧλΠϜͳ࣭ ઐతɾಠࣗͷ࣭ʹ͑ΒΕͳ͍ • ౦ژͷਓޱͱ͍ͬͨಛఆͷ࣭ʹ͍ͭͯޡͬͨճΛ͕ͪ͠ • ͍͔ʹͯ͠ޡͬͨճΛग़͞ͳ͍Α͏ʹͭͭ͠ɺ༗༻ͳ݁ՌΛ
ಘΔ͔͕ࠓޙͷ׆༻ͷϙΠϯτʹͳͬͯ͘Δ
ํ • ཁ݅తͳͱ͜Ζ • --.͕ճෆՄೳͳઐతͳࣝ˞ͷΞΫηε ˞࠷৽ͷใɺ࢛ଇԋࢉɺࣾͷφϨοδɺͦͷଞ༷ʑͳΈ • ͳΔ͘ޡͬͨճΛग़͞ͳ͍Α͏ʹ͢Δ • ղܾํ
• --.୯ಠͰΘͣɺͦͷଞͷΈͱ࿈ܞ͢Δ • ݕࡧͷΈͱΈ߹Θͤͨ-MBNB*OEFYͳͲ͕͋Δ
--.ͷࠓޙͷΘΕํͷఆ ཁɺ༁ φϨοδݕࡧ ϨίϝϯυͳͲ ϑΣʔζ̍ ϑΣʔζ̎ ϑΣʔζ̏ --.୯ಠͰͷར༻ खॱͷܾ·ͬͨλ εΫ
ϧʔϧϕʔεͰ--. ͱผϩδοΫͷΈ ߹Θͤ ॊೈʹෳϩδοΫ Λݺͼग़ͯ͠ར༻ ֓ཁ ಛ ۩ମྫ ֎෦φϨοδΛ Θͳ͍ɺରͷத Ͱ݁Ͱ͖Δ ࣗ༝ͳରγες ϜɺෳࡶͳλεΫ ෳͷΈΛΈ߹Θͤ ʢ-MBNB*OEFYʣ ʢ(151MVHJOTɺ+"37*4ɺ -BOH$IBJO5PPMʣ
--.ͷࠓޙͷΘΕํͷఆ ཁɺ༁ φϨοδݕࡧ ϨίϝϯυͳͲ ϑΣʔζ̍ ϑΣʔζ̎ ϑΣʔζ̏ --.୯ಠͰͷར༻ खॱͷܾ·ͬͨλ εΫ
ϧʔϧϕʔεͰ--. ͱผϩδοΫͷΈ ߹Θͤ ॊೈʹෳϩδοΫ Λݺͼग़ͯ͠ར༻ ֓ཁ ಛ ۩ମྫ ֎෦φϨοδΛ Θͳ͍ɺରͷத Ͱ݁Ͱ͖Δ ࣗ༝ͳରγες ϜɺෳࡶͳλεΫ ෳͷΈΛΈ߹Θͤ ʢ-MBNB*OEFYʣ ʢ(151MVHJOTɺ+"37*4ɺ -BOH$IBJO5PPMTʣ ຊͷλʔήοτ
-BOH$IBJO5PPMTͷ؆୯ͳઆ໌ʢʣ • ֎෦ͷπʔϧΛॊೈʹར༻Ͱ͖ΔΈ • ಠࣗͷπʔϧΛ༻ҙ͓͖ͯ͠ʢԼਤ̍ࢀরʣɺBHFOUʹରͯ͠ ΫΤϦΛ͛ΔʢԼਤ̎ࢀরʣ • ྫɿϗςϧϨίϝϯυπʔϧ SVOϝιουͰ݁ՌΛฦ
-BOH$IBJO5PPMTͷ؆୯ͳઆ໌ʢʣ • -BOH$IBJOଆͰπʔϧΛ͏͖͔Ͳ͏͔ɺͲͷπʔϧΛ ͏͖͔Λஅͯ͠ɺπʔϧΛۦͭͭ݁͠ՌΛฦ͢ πʔϧΛ͏͔Λఆ ͏πʔϧΛܾఆ
-BOH$IBJO5PPMTͷ؆୯ͳઆ໌ʢʣ • ෳͷπʔϧΛ࿈ܞͤͨ͞ߴͳ݁ՌΛฦ͢͜ͱՄೳ ݕࡧπʔϧ ܭࢉπʔϧ
-BOH$IBJO5PPMTΛ࣮ࡍʹ͏্Ͱͷ՝ • %FTDSJQUJPOͷఆ͕ٛʮ͔ͳΓʯ͍͠ • 5PPM͕૿͑ͯ͘Δͱɺఆ௨Γʹ5PPMΛͬͯ͘Εͳ͍ • ӡ༻ͷதͰదʹ5PPMΛબͯ͘͠ΕΔΑ͏मਖ਼͍ͯ͘͠ඞཁ͕͋Δ %FTDSJQUJPO
ʮ%FTDSJQUJPO0QTʯ Λߟ͑ͯΈͨ
%FTDSJQUJPO0QTͱ • ʮ͜ͷΫΤϦʹରͯ͠ɺ͜ͷπʔϧͱ͜ͷπʔϧ͕ݺΕΔ͖ʯͱ͍͏ɺ ೖྗͱਖ਼ղͷϖΞΛ༧Ίࢁ༻ҙ͓ͯ͘͠ʢ.-ʹ͓͚Δڭࢣσʔλʣ • ࣮ࡍʹΫΤϦΛୟ͍ͯΈͯɺఆ௨Γͷπʔϧ͕ݺΕ͍ͯΔ͔Λςετ ʢ.-ʹ͓͚Δਪʣ • ݺΕ͍ͯͳ͔ͬͨΒɺ݁ՌΛ--.ʹͯ͠मਖ਼͠ɺ͜ΕΛ܁Γฦ͢ ʢ.-ʹ͓͚Δֶशʣ
͜ͷΛ͍ɺӡ༻தʹվળͷϓϩηεΛճ͢ʂ ʢͱ͍͏ϑϨʔϜϫʔΫͷఏҊʣ
%FTDSJQUJPO0QTͷ࣮ݧ • ΦεεϝͷגͷฑΛग़ྗͦ͠ͷࣄۀ༰Λग़ྗ͢ΔΈΛ ରʹ͢Δ • גͷฑ͚ͩϨίϝϯυ͞ΕͯɺͦͷϏδωεϞσϧച্ΛҰॹ ʹΓͨ͘ͳΔ • ࣗͰ৭ΜͳใΛௐͯௐࠪΛͤͣͱɺ5PPMTͷΈΛ͍ඞ ཁͳใΛҰׅͰूΊ͍ͨ
• ҎԼͷطଘπʔϧ܈Λ͍࣋ͬͯΔ͜ͱΛఆ • πʔϧ̍ɿΦεεϝͷגͷձ໊ࣾΛग़ྗ͢Δ"1* • πʔϧ̎ɿձ໊͔ࣾΒฑίʔυʹม͢Δ"1* • πʔϧ̏ɿฑίʔυʹରԠ͢Δࣄۀ༰Λग़ྗ͢Δ"1*
ςετ༻ͷ5PPMΛ࡞͓ͯ͘͠ • 5PPM͕ݺΕΔ͔͚ͩݟΕྑ͍ͷͰɺ"1*ࣗମϞοΫΞο ϓͰ0, • Սۭͷձ໊ࣾΛೖΕ͓ͯ͘͜ͱͰɺ(15ࣗମ͕͑ͳ͍Α ͏ʹ͓ͯ͘͠
%FTDSJQUJPO0QTͷϑϩʔ ਖ਼ղσʔλͷೖྗ ॳظͷ%FTDSJQUJPOઃఆ ༩͑ͨ%FTDSJQUJPOΛݩʹπʔϧΛݺͼग़͠ ਖ਼ղσʔλͱൺֱͯ͠ɺͲͷҐͷਫ਼Ͱπʔϧ͕ݺͼग़͞Ε ͔ͨΛςετ
ਫ਼্͕͕ΔΑ͏ʹ%FTDSJQUJPOΛमਖ਼ ʹΔ
%FTDSJQUJPO0QTͷϑϩʔ ਖ਼ղσʔλͷೖྗ ॳظͷ%FTDSJQUJPOઃఆ ༩͑ͨ%FTDSJQUJPOΛݩʹπʔϧΛݺͼग़͠ ਖ਼ղσʔλͱൺֱͯ͠ɺͲͷҐͷਫ਼Ͱπʔϧ͕ݺͼग़͞Ε ͔ͨΛςετ
ਫ਼্͕͕ΔΑ͏ʹ%FTDSJQUJPOΛमਖ਼ ʹΔ
ਖ਼ղσʔλͷ࡞ ΫΤϦαϯϓϧ ݺͼग़͞ΕΔ͖ 5PPM܈ͱఆग़ྗ
%FTDSJQUJPO0QTͷϑϩʔ ਖ਼ղσʔλͷೖྗ ॳظͷ%FTDSJQUJPOઃఆ ༩͑ͨ%FTDSJQUJPOΛݩʹπʔϧΛݺͼग़͠ ਖ਼ղσʔλͱൺֱͯ͠ɺͲͷҐͷਫ਼Ͱπʔϧ͕ݺͼग़͞Ε ͔ͨΛςετ
ਫ਼্͕͕ΔΑ͏ʹ%FTDSJQUJPOΛमਖ਼ ʹΔ
ॳظͷ%FTDSJQUJPOઃఆ • ͪΌΜͱֶश͞ΕΔࣄΛ֬ೝ͍ͨ͠ͷͰɺ࠷ॳదͳ༰Λ ೖΕ͓ͯ͘
%FTDSJQUJPO0QTͷϑϩʔ ਖ਼ղσʔλͷೖྗ ॳظͷ%FTDSJQUJPOઃఆ ༩͑ͨ%FTDSJQUJPOΛݩʹπʔϧΛݺͼग़͠ ਖ਼ղσʔλͱൺֱͯ͠ɺͲͷҐͷਫ਼Ͱπʔϧ͕ݺͼग़͞Ε ͔ͨΛςετ
ਫ਼্͕͕ΔΑ͏ʹ%FTDSJQUJPOΛमਖ਼ ʹΔ
मਖ਼ϓϩϯϓτͷ࡞ ݱࡏͷEFTDSJQUJPO ݺΕͨ5PPMͱݺΕͳ ͔ͬͨ5PPMΛ༩͑Δ ग़ྗϑΥʔϚοτΛࢦఆ ϢʔβͷΫΤϦࣗମʹ ༩͖͢ใ
ఆྔධՁ ਖ਼ मਖ਼ճ FQPDI • मਖ਼ʹΑͬͯਫ਼্͕͢Δ͜ͱ֬ೝ • దͳमਖ਼͕ͳ͞Εͣɺ࠷ޙʹਫ਼͕Լ͕ͬͯ͠·͏ࣄ͕͋Δ
ఆੑධՁ • ੜ͞Εͨ%FTDSJQUJPOͱΫΤϦͷՃใ %FTDSJQUJPO Ճใ
ఆੑධՁ • աֶशͯ͠͠·͏ྫʢ͜ͷล.-ͬΆ͍ʣ ˞मਖ਼༻ͷϓϩϯϓτΛ࿔͍ͬͯͨΒ࿉͞Εͨ݁Ռ ֶशσʔλʹؚ·ΕΔΫΤϦ ͱ͑Λ֮͑ͯ͠·ͬͨ
·ͱΊ • --.ͱɺͦΕҎ֎Λͭͳ͛ΔՄೳੑ͕ੌ͍ʂ • ؆୯ʹܨ͕Βͳ͍ɺ൚༻Λࢦ͢΄Ͳੑೳ্͕͕Βͳ͍ • .-ͷཁྖͰɺ%FTDSJQUJPOΛςετɾվળ͢ΔΈΛߟҊ • %FTDSJQUJPO0QTͱݴ͍ͭͭɺ·ͩ0QTͷΈ·Ͱ࡞ͬ ͍ͯͳ͍ͷͰɺࠓޙؤுΓ·͢