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.6k
GNeRF: GAN-based Neural Radiance Field without Posed Camera
peisuke
1
740
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
Fearsome File Formats
ange
0
430
小学3年生夏休みの自由研究「夏休みに Copilot で遊んでみた」
taichinakamura
0
190
Opcodeを読んでいたら何故かphp-srcを読んでいた話
murashotaro
0
350
サイバー攻撃を想定したセキュリティガイドライン 策定とASM及びCNAPPの活用方法
syoshie
3
1.5k
Wantedly での Datadog 活用事例
bgpat
2
930
Oracle Cloud Infrastructure:2024年12月度サービス・アップデート
oracle4engineer
PRO
1
370
AWS re:Invent 2024 Recap in ZOZO - Serverless で好きなものをしゃべってみた
chongmyungpark
0
620
メンタル面でもつよつよエンジニアになる/登壇資料(井田 献一朗)
hacobu
0
150
株式会社ログラス − エンジニア向け会社説明資料 / Loglass Comapany Deck for Engineer
loglass2019
3
32k
DUSt3R, MASt3R, MASt3R-SfM にみる3D基盤モデル
spatial_ai_network
3
370
日本版とグローバル版のモバイルアプリ統合の開発の裏側と今後の展望
miichan
1
150
AWS re:Invent 2024 ふりかえり勉強会
yhana
0
630
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Code Reviewing Like a Champion
maltzj
521
39k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
Bash Introduction
62gerente
609
210k
Reflections from 52 weeks, 52 projects
jeffersonlam
347
20k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Into the Great Unknown - MozCon
thekraken
34
1.6k
Scaling GitHub
holman
459
140k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
530
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
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ͷΈ·Ͱ࡞ͬ ͍ͯͳ͍ͷͰɺࠓޙؤுΓ·͢