Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Azure OpenAI ServiceのAdd your Dataで(出来る限り簡単に)企業...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
SatakeYusuke
January 18, 2024
360
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Azure OpenAI ServiceのAdd your Dataで(出来る限り簡単に)企業の独自情報にも回答してくれるシステムを作ってみた
Azure OpenAI Serviceで現在プレビュー中の機能であるAdd Your dataを使って(出来る限り簡単に)企業の独自情報にも回答してくれるシステムを開発してみました。
SatakeYusuke
January 18, 2024
More Decks by SatakeYusuke
See All by SatakeYusuke
Microsoft for Startups
satakeyusuke19920527
0
64
AI Agent implement browser test by browser-use on Azure
satakeyusuke19920527
1
730
Completely Understanding AutoGen
satakeyusuke19920527
0
410
deep dive to voice rag
satakeyusuke19920527
0
610
Microsoft for Startups Founders Hub
satakeyusuke19920527
0
360
Cram school DX - Tried to Make English Conversation Application
satakeyusuke19920527
0
360
Can't RAGs be cheaper?
satakeyusuke19920527
1
520
Implemented payment processing with Azure Functions and Stripe.
satakeyusuke19920527
1
370
platform engineering meetup wrapup
satakeyusuke19920527
0
440
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
400
Mobile First: as difficult as doing things right
swwweet
225
10k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
620
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
260
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
510
HDC tutorial
michielstock
2
950
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.3k
Tell your own story through comics
letsgokoyo
1
1.1k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
The Limits of Empathy - UXLibs8
cassininazir
2
710
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
Transcript
Azure OpenAI ServiceのAdd your Dataで(出 来る限り簡単に)企業の独自情報にも回答してく れるシステムを作ってみた .NETラボ 佐竹 祐亮
apc-y-satake satyus 佐竹祐亮 / Yusuke Satake .NETラボ所属 Experience • 学習塾を経営
• プログラミングスクールを経営 • 株式会社エーピーコミュニケーションズにてDXコンサルタントに従事 Expertise 学習塾起業 プログラミングスクール起業 ソフトウェア開発 DX React / Next.js Node.js Microsoft Azure 数学ⅠA・ⅡB・ⅢC 物理 英語
Agenda 本日の概要 従来の独自データの扱い方 Add your dataでの独自データの扱い方
DEMO AOAI + Add your dataでクラウドネイティブアプリケーション開発 最後に
本日の概要 Azure OpenAI Serviceで現在プレビュー中の機能であるAdd Your dataを使って (出来る限り簡単に)企業の独自情報にも回答してくれるシステムを開発してみ ました。
実装方法を以下の記事にまとめてりますので、是非ハンズオンを通じてAzure OpenAI Serviceで遊んでみてください! 概念の説明 https://techblog.ap-com.co.jp/entry/2024/01/14/172841 ・ ハンズオン https://zenn.dev/yusu29/articles/azure_openai_addyourdata
従来の独自データの扱い方 Azure OpenAI Service(AOAI)で独自データを扱うためには以下の図のような アーキテクチャが必要でした。 AOAIとAzure AI Search(旧Cognitive
Search)を並列に配置し、RAGアーキ テクチャを用いて独自情報を取り出す方法が一般的でした。 参考:https://github.com/Azure-Samples/azure-search-openai-demo
従来の独自データの扱い方 アプリの実装の難易度が高くなる (RAGアーキテクチャの実装) LangChain等を使うと、ライブラリの version upについていかないといけな い
AI Search内で使用するIndexを自 前で生成する必要がある …etc 参考:https://github.com/Azure-Samples/azure-search-openai-demo 従来の方法での独自データの扱いには数点の課題
Add your dataでの独自データの扱い方 現在プレビュー中のAOAIの機能、Add your dataでのデータの取り扱いは従 来の方法と比較して非常に簡単になりました。 APIをAOAIが用意してくれるので、ア
プリ側からAPIを叩くだけでOK AI Search内で使用するIndexを自 動で生成 …etc
Add your dataでの独自データの扱い方 Add your dataのAPIを叩く方法は2パターン Completions extensions
APIを叩く Add your dataからデプロイした WebAppsのAPIを叩く dataSourcesは都度指定 WebApps AOAIに直接アクセス WebAppsのAPIへアクセス dataSourcesは固定 会話の内容によってデータソースを切替 可能 とにかくアプリの実装が楽
DEMO AOAI + Add your dataでクラウドネイティブアプリケーション開発
本日のDEMOのアーキテクチャ アプリケーションはNext.jsを使用 Add your dataからデプロイした WebAppsのAPIを叩く 独自データはBlob
Storageにpdfを配 置(私の石垣島旅行の旅のしおり) Add your dataを用いてAI Search へ Indexを自動作成 Add your dataの機能でWebAppsを 自動デプロイし、APIとして利用
すごいちなみに…読み込ませたデータは以下です。
DEMO
最後に いかがだったでしょうか。 今回Add your dataを用いて独自データを扱うシステムを簡単に構築出来る 方法をご紹介いたしました。 是非ご視聴された皆様でAdd your
dataを使ったことがない方は一度ハンズオ ンして楽しんでいただけますと幸いです。
ご清聴頂きありがとうございました。
参考資料 Zenn https://zenn.dev/yusu29/articles/azure_react_llm APCブログ https://techblog.ap-com.co.jp/entry/2023/12/28/143632 X https://twitter.com/fe_js_engineer