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
KDDI DIGITAL GATEのLLM事例紹介
Search
sh-tsukamoto
November 06, 2023
Technology
3
770
KDDI DIGITAL GATEのLLM事例紹介
sh-tsukamoto
November 06, 2023
Tweet
Share
Other Decks in Technology
See All in Technology
Terraform Stacks入門 #HashiTalks
msato
0
350
ドメイン名の終活について - JPAAWG 7th -
mikit
33
20k
Lambdaと地方とコミュニティ
miu_crescent
2
370
DMARC 対応の話 - MIXI CTO オフィスアワー #04
bbqallstars
1
160
適材適所の技術選定 〜GraphQL・REST API・tRPC〜 / Optimal Technology Selection
kakehashi
1
400
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
2
3.2k
AWS Media Services 最新サービスアップデート 2024
eijikominami
0
200
いざ、BSC討伐の旅
nikinusu
2
780
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.3k
これまでの計測・開発・デプロイ方法全部見せます! / Findy ISUCON 2024-11-14
tohutohu
3
370
個人でもIAM Identity Centerを使おう!(アクセス管理編)
ryder472
3
200
TanStack Routerに移行するのかい しないのかい、どっちなんだい! / Are you going to migrate to TanStack Router or not? Which one is it?
kaminashi
0
590
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
Music & Morning Musume
bryan
46
6.2k
Faster Mobile Websites
deanohume
305
30k
Fireside Chat
paigeccino
34
3k
A designer walks into a library…
pauljervisheath
204
24k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Visualization
eitanlees
145
15k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Docker and Python
trallard
40
3.1k
Transcript
KDDI DIGITAL GATEͷ LLMࣄྫհ 2023/11/02 KDDIגࣜձࣾ ௩ຊ Ұ࿕
ࣗݾհ ௩ຊ Ұ࿕ KDDIגࣜձࣾ KDDI DIGITAL GATEॴଐ ιϑτΣΞΤϯδχΞ • ීஈWEB/ϞόΠϧΞϓϦ։ൃ͕த৺
• ࠷ۙLLMΛ׆༻ͨ͠։ൃଟ͍ͬͯ͘·͢ • ̍ϲ݄લɺAmazon Bedrockͷਖ਼ࣜϦϦʔεͱ΄΅ ಉ࣌͡ظʹ່͕ੜ͠·ͨ͠
KDDI DIGITAL GATEʹ͍ͭͯ σβΠϯࢥߟδϣϒཧΛ༻͍ͨαʔϏεσβΠϯ ΞδϟΠϧ։ൃʹΑΔϓϩμΫτ։ൃɾݕূ Λ௨ͯ͠๏ਓސ٬ͷDXࣄۀ্ཱͪ͛Λαϙʔτ͢Δ৫ ࠷ۙҎԼͷΑ͏ͳ׆ಈʹྗ • ੜAIΛ׆༻ͨ͠ϓϩμΫτ։ൃ •
ࣾ֎ͰͷੜAIษڧձ։࠵
DXਪਐΛ͞Ε͚ͨͲαʔϏεσβΠϯͬͯԿΛ͢Ε͍͍ͷʁͱ͍͏୲ऀ͕ αʔϏεσβΠϯख๏ΛήʔϜײ֮ͰֶΔ Amazon Bedrock࣮ΞϓϦ ʮϏδωεΛͭ͘Ζ͏ʂʯ ུͯ͠ʮϏδͭ͘ʂʯ ※Amazon Bedrock: AWS͕ఏڙ͢ΔੜܥAIαʔϏε
ઌAWSͷهऀձݟͰগ͚ͩ͠հ͞Ε·ͨ͠
Amazon Bedrock࣮ΞϓϦʮϏδͭ͘ʂʯ ࠷ॳʹاըςʔϚΛೖྗ͢Δ͚ͩͰ
Amazon Bedrock࣮ΞϓϦʮϏδͭ͘ʂʯ པ͍͠ϝϯόʔ(LLM)͕δϣϒཧʹ͓͚ΔδϣϒϏδωεΞΠσΞΛෳఏࣔͯ͘͠ΕΔ
Amazon Bedrock࣮ΞϓϦʮϏδͭ͘ʂʯ ఏࣔ͞ΕͨδϣϒϏδωεΞΠσΞΛબͯ͠ਐΊ͍ͯ͘ͱ
Amazon Bedrock࣮ΞϓϦʮϏδͭ͘ʂʯ ࠷ऴతʹΩϟονίϐʔ·Ͱੜͯ͘͠ΕͯɺاըҊͱͯ͠ར༻Մೳ
γεςϜΞʔΩςΫνϟ ϑϩϯτ όοΫΤϯυ AWSͰ݁ʂ Ϟσϧ Anthoropicࣾͷ Claude 2Λར༻
ϓϩϯϓταϯϓϧ """Human: ҎԼͷςʔϚʹ͍ͭͯɺδϣϒཧʹج͍ͮͯδϣϒͷྫΛ4ͭ࡞͠·͢ɻ࡞͢Δδϣϒҙ֎ੑͷ͋ΔྫΛؚΊɺ੍݅ʹ ैͬͯग़ྗ͠·͢ɻ ### ςʔϚ {theme} ### ϑΥʔϚοτ {format_instructions}
### ੍݅ ϑΥʔϚοτʹै͍ɺϑΥʔϚοτ෦ͷΈग़ྗɻ Assistant:"""
Bedrock(Claude 2)ͷྑ͍ͱ͜Ζ • ίετɺճ࣭ͱʹGPT3.5ͱGPT4ͷؒ͘Β͍ ➢ 3.5ͩͱճ࣭͕ෆ͚҆ͩͲɺ4ͩͱίετ͕ߴ͗͢Δͱ͍͏ʹधཁ͕͋Γͦ ͏ • ࠷େτʔΫϯ͕10ສτʔΫϯ ➢
ChatGPT࠷େ3.2ສτʔΫϯ • ଟ͘ͷΤϯδχΞ͕͍׳ΕͨAWSڥͰ݁ͯ͠ϓϩμΫτ։ൃ͕Ͱ͖Δ • LLMܥͷ։ൃͰศརͳLangChainͱΈ߹Θͤͯར༻Մೳ
Bedrock(Claude 2)Λͬͯۤ࿑ͨ͠ • ChatGPTʹ͓͚ΔFunction Callingػೳ͕ݱ࣌Ͱͳ͍ ➢ ΞϓϦʹΈࠐΉࡍLangchainͷύʔαʔͰJSONܗࣜͰฦ٫͞ΕΔΑ͏ʹͨ͠ ➢ Function Callingʹ૬͢Δػೳ͕͋Ε։ൃ͕ͬͱָʹͳΓͦ͏
• Bedrock APIͷԠ͕ฦͬͯ͘Δ·Ͱʹ͕͔͔࣌ؒΔ͜ͱ͕͋Δ ➢ APIͷԠʹ10ඵఔ͔͔Δ ➢ ݁Ռදࣔ͢Δલͷը໘ͰࣄલʹAPIΛόοΫάϥϯυ࣮ߦ͠ɺϢʔβମײͰ API࣮ߦͷ͕ͪ࣌ؒݮΔΑ͏ʹ ➢ Claude 2౦ژϦʔδϣϯͰ͑ΔΑ͏ʹͳΕԠ͕࣌ؒ͘ͳΔ͔ʁ ※ݱ࣌(11/2)Ͱ౦ژϦʔδϣϯະରԠ
Bedrock(Claude 2)Λͬͯۤ࿑ͨ͠ • ChatGPTʹ͓͚ΔFunction Callingػೳ͕ݱ࣌Ͱͳ͍ ➢ ΞϓϦʹΈࠐΉࡍLangchainͷύʔαʔͰJSONܗࣜͰฦ٫͞ΕΔΑ͏ʹͨ͠ ➢ Function Callingʹ૬͢Δػೳ͕͋Ε։ൃ͕ͬͱָʹͳΓͦ͏
• Bedrock APIͷԠ͕ฦͬͯ͘Δ·Ͱʹ͕͔͔࣌ؒΔ͜ͱ͕͋Δ ➢ APIͷԠʹ10ඵఔ͔͔Δ ➢ ݁Ռදࣔ͢Δલͷը໘ͰࣄલʹAPIΛόοΫάϥϯυ࣮ߦ͠ɺϢʔβମײͰ API࣮ߦͷ͕ͪ࣌ؒݮΔΑ͏ʹ ➢ Claude 2౦ژϦʔδϣϯͰ͑ΔΑ͏ʹͳΕԠ͕࣌ؒ͘ͳΔ͔ʁ ※ݱ࣌(11/2)Ͱ౦ژϦʔδϣϯະରԠ ͜ͷลΓ͜Ε͔ΒͲΜͲΜྑ͘ͳ͍ͬͯͣ͘ɻظ͍ͯ͠·͢ʂ
ͦͷଞ։ൃͨ͠ϓϩμΫτΛܰ͘հ
اۀͷ࠷৽ͷۀαϚϦʔΛڭ͑ͯ͘ΕΔʮEyeRʯ ࣾͷӦۀ୲͕ར༻͢Δ͜ͱΛఆ ηΩϡϦςΟʢใ࿙͍͑ʣରࡦ ↳ձ໊ࣾͷೖྗ͚ͩͰ༨ܭͳใΛೖྗͤ͞ͳ͍ GPTͷΧοτΦϑσʔλͷରࡦ ʢGPT3.520219݄·Ͱͷσʔλ͕جͱͳ͍ͬͯΔʣ ↳Bingʹͯ࠷৽HPใΛऔಘ͠αϚϦʔ͢Δ ใͷ͔֬Β͠͞ͷূ໌ ↳αϚϦʔͷجͱͳΔϖʔδͷURLΛදࣔ͢Δ
EyeRγεςϜߏਤ
؆୯ͳ࣭ʹ͑Δ͚ͩͰ໊͋ͩΛ͚ͭͯ͘ΕΔʮNick genieʯ ChatGPTྲྀߦΓͨͯͷࠒʹ3͘Β͍Ͱ࡞ͬͨษڧ༻ϓϩμΫτ