1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

AI-102 学習メモ (13) : 生成 AI ソリューションを実装する

Last updated at Posted at 2025-02-17

はじめに

この投稿は AI-102: Microsoft Azure AI エンジニア の学習をした内容のメモです。

投稿の一覧は以下のリンク先にあります。

前の投稿

Azure OpenAI Service

Azure OpenAI Service を利用すると、Azure 上で OpenAI を利用することができます。Azure 上にあるためセキュリティやリージョンの可用性といったメリットがあります。

課金モデル

Azure OpenAI はテキストのトークン数に応じて課金されます。入力と出力両方のトークンに対して課金が発生します。

Azure Portal で Azure OpenAI Service リソースを作成し、実際に利用してみます。

Azure OpenAI Service リソースを作成する

[Marketplace] - [Azure OpenAI] をクリックします。

image.png

リージョンや名前を入力します。

Azure OpenAI に無償版 (Free) はありませんでした。

image.png

リソースの作成が完了したら、[概要] - [Go to Azure AI Foudry portal] をクリックします。

image.png

Azure OpenAI モデルを選んでデプロイする

次に、[プレイグラウンド] - [チャット] から、利用するモデルを選択してデプロイします。

image.png

今回は [gpt-35-turbo] を選択してデプロイしてみます。

image.png

image.png

自然言語を生成するためのプロンプトを送信する

モデルがデプロイ出来たら、プロンプトを送信して応答を確認することができます。

image.png

[コードの表示] からサンプルコードも確認することができます。

image.png

DALL-E モデルを使用して画像を生成する

[イメージ] を選択すると、DALL-E モデルを使用して画像を生成することができます。

image.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?