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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
Microsoft MVPになる前、なってから/Fukuoka_Tech_Women_Community_1_baba
nina01
0
360
Azure AI servicesと歯のおはなし/AzureTravelers_Fukuoka2024_baba
nina01
1
250
cloudugnight2nd-20240531
nina01
1
490
Azure犬駆動開発の記録/GlobalAzureFukuoka2024_20240420
nina01
1
460
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
Azure Functionsをサクッと開発、サクッとデプロイ/vscodeconf2023-baba
nina01
2
1.4k
Other Decks in Technology
See All in Technology
あるけみー式LTスライド作成術
alchemy1115
1
200
The Agent Builder Loop from Daily Work to OSS
minorun365
PRO
3
150
コーディングエージェントでM5Stack系の開発を少し試した時の話 / M5 Japan Tour 2026 Autumn 東京
you
PRO
0
190
2026_devsumi_ozono.pdf
o3
3
450
なぜJMBC(Japan MCP Business Community)? MCPってどう活用できるの?
cdataj
0
110
コスト最適化の「めんどくさい」を AWS FinOps Agent でチョット楽にする
classmethod_kaz
0
330
AIエージェントの自己改善をどう設計するか / How to Design Self-Improvement for AI Agents
22mi
20
12k
20260912_スクラムにジェネラリストは必要か
ryugen04
0
390
データ界隈LT祭 第1回LT登壇
taromatsui_cccmkhd
1
990
AIを活用するために決めた "やらないこと" - 価値に注目する / Not betting on AI
soudai
PRO
1
450
AIで仕事のやり方を変える
matsu7874
3
1.1k
AIオーケストレーションを活用した 開発ワークフローの設計と実践
bqnq
0
170
Featured
See All Featured
Docker and Python
trallard
47
4.2k
The Limits of Empathy - UXLibs8
cassininazir
1
660
Fireside Chat
paigeccino
43
4k
So, you think you're a good person
axbom
PRO
2
2.2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
WCS-LA-2024
lcolladotor
0
830
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Music & Morning Musume
bryan
47
7.4k
Crafting Experiences
bethany
1
330
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
420
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待ってます! ◼ 今後のアップデートに期待