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
610
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
950
AIエージェントがもたらす新たな顧客体験
dory
0
290
全自動でデータ分析してくれるAIエージェントを作った
dory
7
5.5k
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Rails Girls Zürich Keynote
gr2m
94
13k
What's in a price? How to price your products and services
michaelherold
243
12k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
Optimizing for Happiness
mojombo
376
70k
Designing Experiences People Love
moore
138
23k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Bash Introduction
62gerente
608
210k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
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։ൃ ΊͬͪΌָ͍͠ͷͰ ΈΜͳ࡞Ζ͏🤗 ͍͞͝ʹݴ͍͍ͨ͜ͱ