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
Measuring & Analyzing Core Web Vitals
bluesmoon
5
200
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
860
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
172
50k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
113
50k
4 Signs Your Business is Dying
shpigford
182
22k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Mobile First: as difficult as doing things right
swwweet
222
9k
Building Applications with DynamoDB
mza
92
6.2k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
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։ൃ ΊͬͪΌָ͍͠ͷͰ ΈΜͳ࡞Ζ͏🤗 ͍͞͝ʹݴ͍͍ͨ͜ͱ