Logo Passei Direto
Buscar

How-to - Create a resource and deploy a model using Azure OpenAI Service - Azure OpenAI _ Microsoft Learn

User badge image

Enviado por João Vitor Soares Tenório em

páginas com resultados encontrados.
páginas com resultados encontrados.

Prévia do material em texto

18/05/2023, 11:04 How-to - Create a resource and deploy a model using Azure OpenAI Service - Azure OpenAI | Microsoft Learn
https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/create-resource?pivots=web-portal 1/3
Create a resource and deploy a model
using Azure OpenAI
Article • 03/07/2023
Use this article to get started with Azure OpenAI with step-by-step instructions to
create a resource and deploy a model. While the steps for resource creation and model
deployment can be completed in a few minutes, the actual deployment process itself
can take more than hour. You can create your resource, start your deployment, and then
check back in on your deployment later rather than actively waiting for the deployment
to complete.
An Azure subscription - Create one for free
Access granted to Azure OpenAI in the desired Azure subscription
Currently, access to this service is granted only by application. You can apply for
access to Azure OpenAI by completing the form at https://aka.ms/oai/access .
Open an issue on this repo to contact us if you have an issue.
Resources in Azure can be created several different ways:
Within the Azure portal
Using the REST APIs, Azure CLI, PowerShell or client libraries
Via ARM templates
This guide walks you through the Azure portal creation experience.
1. Navigate to the create page: Azure OpenAI Service Create Page
2. On the Create page provide the following information:
Field Description
Subscription Select the Azure subscription used in your OpenAI onboarding application
Resource
group
The Azure resource group that will contain your OpenAI resource. You can
create a new group or add it to a pre-existing group.
Prerequisites
Create a resource
https://azure.microsoft.com/free/cognitive-services
https://aka.ms/oai/access
https://portal.azure.com/?microsoft_azure_marketplace_ItemHideKey=microsoft_openai_tip#create/Microsoft.CognitiveServicesOpenAI
https://portal.azure.com/?microsoft_azure_marketplace_ItemHideKey=microsoft_openai_tip#create/Microsoft.CognitiveServicesOpenAI
18/05/2023, 11:04 How-to - Create a resource and deploy a model using Azure OpenAI Service - Azure OpenAI | Microsoft Learn
https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/create-resource?pivots=web-portal 2/3
Field Description
Region The location of your instance. Different locations may introduce latency,
but have no impact on the runtime availability of your resource.
Name A descriptive name for your cognitive services resource. For example,
MyOpenAIResource.
Pricing Tier Only 1 pricing tier is available for the service currently
Before you can generate text or inference, you need to deploy a model. You can select
from one of several available models in Azure OpenAI Studio.
Davinci is the most capable model family and can perform any task the other models
can perform and often with less instruction. For applications requiring a lot of
understanding of the content, like summarization for a specific audience and creative
content generation, Davinci is going to produce the best results.

Deploy a model
https://learn.microsoft.com/en-us/azure/cognitive-services/openai/media/create-resource/create.png#lightbox
18/05/2023, 11:04 How-to - Create a resource and deploy a model using Azure OpenAI Service - Azure OpenAI | Microsoft Learn
https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/create-resource?pivots=web-portal 3/3
To deploy a model, follow these steps:
1. Sign in to Azure OpenAI Studio .
2. Select the subscription and OpenAI resource to work with.
3. Select Manage deployments in your resource > Go to Deployments under
Manage your deployments and models. You might first need to scroll down on
the landing page.
4. Select Create new deployment from the Management > Deployments page.
5. Select a model from the drop-down. For getting started in the East US region, we
recommend the text-davinci-003 model. In other regions you should start with
the text-davinci-002 model. Some models are not available in all regions. For a
list of available models per region, see Model Summary table and region
availability.
6. Enter a model name to help you identify the model. Choose a name carefully. The
model name will be used as the deployment name via OpenAI client libraries and
API.
7. Select Create to deploy the model.
The deployments table displays a new entry that corresponds to this newly created
model. Your deployment status will move to succeeded when the deployment is
complete and ready for use.
Now that you have a resource and your first model deployed get started making
API calls and generating text with our quickstarts.
Learn more about the underlying models that power Azure OpenAI.

Next steps
https://oai.azure.com/
https://learn.microsoft.com/en-us/azure/cognitive-services/openai/concepts/models#model-summary-table-and-region-availability
https://learn.microsoft.com/en-us/azure/cognitive-services/openai/quickstart
https://learn.microsoft.com/en-us/azure/cognitive-services/openai/concepts/models
https://learn.microsoft.com/en-us/azure/cognitive-services/openai/media/create-resource/deployment.png#lightbox