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
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Statistics for Hackers
jakevdp
796
220k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Designing Experiences People Love
moore
138
23k
Optimizing for Happiness
mojombo
376
70k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Unsuck your backbone
ammeep
668
57k
The Cult of Friendly URLs
andyhume
78
6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
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։ൃ ΊͬͪΌָ͍͠ͷͰ ΈΜͳ࡞Ζ͏🤗 ͍͞͝ʹݴ͍͍ͨ͜ͱ