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に全乗っかりでつくる全自動データ分析アプリ
Search
Dory
July 20, 2023
0
620
LangChainに全乗っかりでつくる全自動データ分析アプリ
LangChain Japan MeetUp (公式イベント)での登壇資料です!
https://mercari.connpass.com/event/288516/
Dory
July 20, 2023
Tweet
Share
More Decks by Dory
See All by Dory
AI Agentを巨人の肩に載せたい
dory
0
980
AIエージェントがもたらす新たな顧客体験
dory
0
310
全自動でデータ分析してくれるAIエージェントを作った
dory
7
5.7k
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
The Language of Interfaces
destraynor
155
24k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Optimising Largest Contentful Paint
csswizardry
33
3k
A Tale of Four Properties
chriscoyier
157
23k
How STYLIGHT went responsive
nonsquared
96
5.3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
3
350
4 Signs Your Business is Dying
shpigford
182
22k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Transcript
2023.07.20 LangChain Japan MeetUp LT Session גࣜձࣾAlgomatic Ryoichi Takahashi LangChainʹ
શ͔ͬΓͰͭ͘Δ શࣗಈσʔλੳΞϓϦ
01 ࣗݾհ
1. ࣗݾհ ೝՊֶʢਓؒͷݴޠཧղɾ࢈ग़ʣ ରϩϘοτͷݚڀ։ൃ ࣾϕϯνϟʔ Fintech/AIؔ࿈اۀͷσβΠϯࢧԉ ֶ෦ɾम࢜ ͓લ୭ͳͷ͔ B2Bࣄۀ্ཱͪ͛
1. ࣗݾհ ͓લ୭ͳͷ͔ Ͱͷ׆ಈ ݸਓ׆ಈ
1. ࣗݾհ ͓લ୭ͳͷ͔ Ͱͷ׆ಈ ݸਓ׆ಈ
ੜ"*Ͱ৺༂ΔະདྷΛΔ ɾෳͷ"*ϓϩμΫτΛ ɹ%BZ͔ΒฒߦͰ্ཱͪ͛Δ ɹελʔτΞοϓελδΦ ɾ%..͔ΒԯԁΛࢿۚௐୡ ɾຊॳʢʁʣͷ"*ΤʔδΣϯτ ɹઐ։ൃ৫Λ্ཱͪ͛த
1. ࣗݾհ ͓લ୭ͳͷ͔ Ͱͷ׆ಈ ݸਓ׆ಈ
ݸਓ׆ಈ 1. ࣗݾհ σʔλੳΤʔδΣϯτ ਓؒͷهԱͷ͘͠ΈΛ฿ͨ͠ ΤʔδΣϯτ͚ϑϨʔϜϫʔΫ શࣗಈͰσʔλੳϨϙʔτΛ ࡞ͬͯ͘ΕΔϓϩμΫτ ൃ৴ AIΤʔδΣϯτؔ࿈ͷ
ൃ৴Λ͍ͯ͠·͢ʂ
1. ࣗݾհ ࢲͱLangChain🦜🔗 ࡢ12݄͘Β͍͔ΒLangChainΛͬͨDemoΛͪΐͪ͘ΐ͘ެ։ SQLͭ͘Δͭ ϒϥβૢ࡞ࣗಈԽ͢Δͭ શࣗಈͰσʔλੳ͢Δͭ
02 LangChainͰ શࣗಈσʔλੳΤʔδΣϯτΛ࡞ͬͨ
Ϣʔβ LLM Agentͬͯʁ ϓϩάϥϜͷ࣮ߦ ϑΝΠϧͷ ಡΈࠐΈɾॻ͖ࠐΈ WEBϒϥδϯά ࢥߟʢLLMʣ ͠ LLM
Agent ʲΰʔϧʳ גՁϨϙʔτΛ࡞ͯ͠ 2. LangChainͰશࣗಈσʔλੳΤʔδΣϯτΛ࡞ͬͨ
Auto-GPTΛൽΓʹϓϩμΫτ͕രൃతͳεϐʔυͰొ OSS WEBαʔϏε 2. LangChainͰશࣗಈσʔλੳΤʔδΣϯτΛ࡞ͬͨ
ʮAuto-GPTͱ͔ͬͯΈ͚ͨͲ ΤʔδΣϯτ࣮ར༻ʹ·ͩૣ͍Μ͡Όʁʯ ↓ ಛఆͷϢʔεέʔεʹಛԽ͢Ε ͋Δఔ࣮༻ʹ͑͏Δઆ 2. LangChainͰશࣗಈσʔλੳΤʔδΣϯτΛ࡞ͬͨ
DEMO 2. LangChainͰશࣗಈσʔλੳΤʔδΣϯτΛ࡞ͬͨ શࣗಈσʔλੳΤʔδΣϯτ ɾLangChainͱGPT-3.5-TurboͰ࣮ ɾCSV/XLSXσʔλΛυϥοάΞϯυυϩοϓ ɾσʔλͷ༰ΛͱʹɺLLM͕ੳखॱΛϓϥϯχϯά ɾσʔλͷલॲཧ/ੳ/ՄࢹԽΛউखʹ࣮ࢪ ɾ์ஔ͓ͯ͘͠ͱͰੳϨϙʔτͷग़དྷ্͕Γ
Έ σʔλΛ ಡΈࠐΈ جຊ౷ܭྔ Λग़͢ σʔλͷ ֎؍ΛѲ ੳϓϥϯ ཱͯΔ ੳ༻ͷ
ίʔυཱ ίʔυ࣮ߦ Τϥʔग़ͨΒ ίʔυमਖ਼ ੳ݁Ռͷ ϨϙʔτԽ ×Nճ Ϩϙʔτͷ จষߍਖ਼ ੳ݁Ռͷ ղऍ 2. LangChainͰશࣗಈσʔλੳΤʔδΣϯτΛ࡞ͬͨ
🦜🔗 LangChain LEGO = ®
Έ σʔλΛ ಡΈࠐΈ جຊ౷ܭྔ Λग़͢ ίʔυ࣮ߦ 2. LangChainͰશࣗಈσʔλੳΤʔδΣϯτΛ࡞ͬͨ
ɾखݩͷChainΛ૿͢ ɾલʹ࡞ͬͨChainͱࠓ࡞ͬͨ ɹChainΛΈ߹ΘͤΔ ɾطΛͬͯΑΓෳࡶͳ ɹ࡞Λͭ͘Δ
ɾखݩͷChainΛ૿͢ ɾલʹ࡞ͬͨChainͱࠓ࡞ͬͨ ɹChainΛΈ߹ΘͤΔ ɾطΛͬͯΑΓෳࡶͳ ɹ࡞Λͭ͘Δ ࣌ؒͷͳ͍ݸਓ։ൃऀͦ͜ɺ LangChainͷΤίγεςϜʹ͔ͬΖ͏ʂ ͜Ε·ͰஷΊ͜Μͩύʔπ͕ଟ͘ͳΕ Ͱ͔͍ڪཽͱ͔Λ͙͢࡞ΕΔΑ͏ʹͳΔ ↓
🦜🔗 LangChain LEGO = ®
LangChain/Agent։ൃ ΊͬͪΌָ͍͠ͷͰ ΈΜͳ࡞Ζ͏🤗 ͍͞͝ʹݴ͍͍ͨ͜ͱ