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 FunctionsのAOAIバインド機能を試してみる/dotnet2days202...
Search
Hirono Baba
January 22, 2024
Technology
230
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Azure FunctionsのAOAIバインド機能を試してみる/dotnet2days20240118-baba
Hirono Baba
January 22, 2024
More Decks by Hirono Baba
See All by Hirono Baba
GitHub Dav Days Fukuoka/githubdavdaysfukuoka_20261017
nina01
0
48
GitHub Copilot App入門/aadojo13_20260930
nina01
0
62
Microsoft MVPになる前、なってから/Fukuoka_Tech_Women_Community_1_baba
nina01
0
370
Azure AI servicesと歯のおはなし/AzureTravelers_Fukuoka2024_baba
nina01
1
260
cloudugnight2nd-20240531
nina01
1
500
Azure犬駆動開発の記録/GlobalAzureFukuoka2024_20240420
nina01
1
480
AzureでWaiting roomをつくる!新米アーキテクトの挑戦記/jazug-for-women-20231215-baba
nina01
1
1.1k
開発者のためのGitHub Advanced Security入門セキュリティを向上させよう!/cndfpre2023-baba
nina01
1
1.5k
Azure Policyとガバナンスのおはなし/globalazure2023-baba
nina01
0
1.1k
Other Decks in Technology
See All in Technology
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
740
sue445's proposals 2026
sue445
0
110
Kiro Crewで「みのるん式」仕事術やってみた
minorun365
PRO
3
820
FinOps Agentが生んだ技術負債:コスト自動調査の落とし穴と解消までの道のり
oasis1994liveforever
2
160
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
220
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
初海外で注意すべきこと12選!!!安全快適なre:invent生活にするために
yuuuuuuu168
1
180
データエンジニアの次の戦場は "プロセスエンジニアリング"
sansantech
PRO
1
120
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
110
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
1
900
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
310
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.8k
Featured
See All Featured
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
460
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
480
Un-Boring Meetings
codingconduct
0
460
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
640
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
450
Building Applications with DynamoDB
mza
96
7.2k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
320
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
We Have a Design System, Now What?
morganepeng
55
8.4k
Exploring anti-patterns in Rails
aemeredith
4
540
Transcript
Azure FunctionsのAOAI バインド機能を試してみる 2024/1/18 .NET の 2 日間 2024 冬
馬場ひろの Hirono Baba
スピーカーについて ◼ 馬場ひろの ◼ (株)オルターブース所属 ◼ エンジニア4年生 ◼ AzureやGitHub, .NETがんばってます
@nina-sensei
発表内容について ◼ 今日話すこと ◼ Azure Functions ◼ バインド機能について ◼ AOAIバインド機能について
◼ 目的 ◼ AOAIバインド機能先取りで試してみること ◼ 対象者 ◼ Azure初~中級者向け ◼ Functions推しな人
Azure Functions ◼ イベントをトリガーとしてプログラムを実行するAzureのサービス ◼ HTTP, Timer, Queue, その他Azureのサービスをトリガーとすることができる ◼
サーバーレスコンピューティングプラットフォーム ◼ 様々な言語をサポート(C#, JavaScript, Java, PowerShell, Python) ◼ バインド機能あり
バインド機能まとめ ◼ 少ないコードで他のサービスに接続するための方法 Blob Storage Azure Cosmos DB Azure SQL
Dapr Event Grid HTTP と Webhook IoT Hub Kafka Mobile Apps Notification Hubs Queue Storage Redis RabbitMQ SendGrid Service Bus SignalR Table Storage Timer Twillio
AOAIのバインド機能が開発中 ◼ まだ非公式 ◼ Open AIとAOAI(Azure Open AI) と接続できる https://github.com/cgillum/azure-functions-openai-extension?tab=readme-ov-file
現在開発されている機能 ◼ Text completions ◼ テキスト補完、任意のテキストの続きを生成してくれる ◼ Chat bots ◼
チャットボットを実装できる ◼ Assistants ◼ チャットボットをベースに、アシスタントの役割を担ってくれる ◼ Embeddings generators ◼ テキスト文字列の関連性をベクトル化し測定してくれる ◼ Semantic search ◼ 出力バインディング:ベクトルデータベースにドキュメントをインポート ◼ 入力バインディング:データベース内のドキュメントにクエリを発行
準備 ◼ NuGet Packagesをインス トールする ◼ AOAIのリソースを作成 ◼ AZURE_OPENAI_KEY と
AZURE_OPENAI_ENDPOINT をlocal.settings.jsonに設定 ◼ 実行環境 ◼ Visual Studio 2022 ◼ .NET6.0(In-Processモデル) ◼ Azure Functions Core Tools v4.x
AOAIの設定 ◼ リソースからキーとエンドポイントを取得 ◼ Azure OpenAI Studioでモデルのデプロイを忘れずに
デモ Text completions, Chat bots
Assistants ◼ Chat botsが一つのプロンプトに対して一つの返答が返ってくるような形 ◼ Assistantsは履歴を取得してくれるので会話が成り立つのが特徴 ◼ ToDoリストなどアシスタントとやりとりできる ◼ 明日のToDoタスクを一定の時間になったら通知してくれる
◼ オフィスの入退出管理ができる などなど ◼ 他のサービスと簡単に接続できるので簡単にアプリができる…?!
まとめ ◼ Functionsで簡単にAOAIと接続できる ◼ Semantic検索も試してみる ◼ GA待ってます! ◼ 今後のアップデートに期待