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.5k
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
3.9k
AutoGenで作るLLM Agen
peisuke
1
1.3k
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
8.9k
GNeRF: GAN-based Neural Radiance Field without Posed Camera
peisuke
1
720
TTS Skins: Speaker Conversion via ASR
peisuke
0
370
A Quantum Computational Approach to Correspondence Problems on Point Sets
peisuke
0
660
F0-Consistent Many-to-many Non-parallel Voice Conversion via Conditional Autoencoder
peisuke
0
170
YOLACT real-time instance segmentation
peisuke
1
240
Other Decks in Technology
See All in Technology
プロポーザルのつくり方 〜個人技編〜 / How to come up with proposals
ohbarye
4
310
Spring Frameworkの新標準!? ~ RestClientとHTTPインターフェース入門 ~
ogiwarat
2
260
福岡新卒エンジニアの会
teba_eleven
1
190
Oracle Cloud World 2024 GoldenGateプラットフォームの戦略について
oracle4engineer
PRO
0
100
株式会社島津製作所_研究開発(集団協業と知的生産)の現場を支える、OSS知識基盤システムの導入
akahane92
1
180
透過型SMTPプロキシによる送信メールの可観測性向上: Update Edition / Improved observability of outgoing emails with transparent smtp proxy: Update edition
linyows
2
190
SREによる隣接領域への越境とその先の信頼性
shonansurvivors
1
400
[FOSS4G 2024 Japan LT] LLMを使ってGISデータ解析を自動化したい!
nssv
1
170
GraphRAGを用いたLLMによるパーソナライズド推薦の生成
naveed92
0
190
いろんなものと両立する Kaggleの向き合い方
go5paopao
2
970
ドメイン名の終活について - JPAAWG 7th -
mikit
31
17k
エンジニアが一生困らない ドキュメント作成の基本
naohiro_nakata
2
140
Featured
See All Featured
Visualization
eitanlees
145
15k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
What's in a price? How to price your products and services
michaelherold
243
12k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
15
2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Optimizing for Happiness
mojombo
376
69k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
The Invisible Side of Design
smashingmag
297
50k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
Navigating Team Friction
lara
183
14k
GitHub's CSS Performance
jonrohan
1030
460k
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ͷΈ·Ͱ࡞ͬ ͍ͯͳ͍ͷͰɺࠓޙؤுΓ·͢