You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Tutorial: Connect to OpenAI from Azure Functions using Visual Studio Code
13
13
14
-
This article shows you how to use Visual Studio Code to connect Azure OpenAi to the function you created in the previous quickstart article. The output binding that you add to this HTTP trigger function {{does somethign cool}}.
14
+
This article shows you how to use Visual Studio Code to connect Azure OpenAI to the function you created in the previous quickstart article. The output binding that you add to this HTTP trigger function {{does somethign cool}}.
@@ -65,7 +65,7 @@ The following steps show how to create an Azure OpenAI data model in the Azure p
65
65
66
66
:::image type="content" source="../ai-services/openai/media/create-resource/create-resource-basic-settings.png" alt-text="Screenshot that shows how to configure an Azure OpenAI resource in the Azure portal.":::
67
67
68
-
1. Select **Next** twice to accept the default values for both the **Network** and **Tags** tabs. The service you create does't have any network restrictions, including from the internet.
68
+
1. Select **Next** twice to accept the default values for both the **Network** and **Tags** tabs. The service you create doesn't have any network restrictions, including from the internet.
69
69
70
70
1. Select **Next** a final time to move to the final stage in the process: **Review + submit**.
71
71
@@ -81,7 +81,7 @@ To deploy a model, follow these steps:
81
81
82
82
1. Sign in to [Azure OpenAI Studio](https://oai.azure.com).
83
83
84
-
1. Choose the subscription and the Azure OpenAI resource you just created, and select **Use resource**.
84
+
1. Choose the subscription and the Azure OpenAI resource you created, and select **Use resource**.
85
85
86
86
1. Under **Management** select **Deployments**.
87
87
@@ -99,7 +99,7 @@ To deploy a model, follow these steps:
99
99
100
100
The deployments table shows a new entry that corresponds to your newly created model.
101
101
102
-
1.AFter the deployment completes, navigate to the Azure OpenAI resource blade in the Azure portal, and, under **Essentials**, select **Click here to view endpoints**. Copy the **endpoint** URL and the **keys**. Save these values, you'll need them later.
102
+
1.After the deployment completes, navigate to the Azure OpenAI resource page in the Azure portal, andselect **Click here to view endpoints** under **Essentials**. Copy the **endpoint** URL and the **keys**. Save these values, you need them later.
103
103
104
104
## 3. Update application settings
105
105
@@ -119,7 +119,7 @@ Now that you have the credentials to connect to your model in Azure OpenAI, you
119
119
120
120
Because you're using an Azure OpenAI output binding, you must have the corresponding bindings extension installed before you run the project.
121
121
122
-
With the exception of HTTP and timer triggers, bindings are implemented as extension packages. Run this [dotnet add package](/dotnet/core/tools/dotnet-add-package) command in the Terminal window to add the Azure OpenAI extension package to your project:
122
+
Except for HTTP and timer triggers, bindings are implemented as extension packages. To add the Azure OpenAI extension package to your project, run this [dotnet add package](/dotnet/core/tools/dotnet-add-package) command in the **Terminal** window:
@@ -276,12 +276,16 @@ The code you add creates a `whois` HTTP function endpoint in your existing proje
276
276
277
277
InAzure, *resources*refertofunctionapps, functions, storageaccounts, andsoforth. They're grouped into *resource groups*, and you can delete everything in a group by deleting the group.
278
278
279
-
Youcreatedresourcestocompletethesequickstarts. Youmaybebilledfor these resources, depending on your [account status](https://azure.microsoft.com/account/) and [service pricing](https://azure.microsoft.com/pricing/). If you don't need the resources anymore, here's how to delete them:
279
+
Youcreatedresourcestocompletethesequickstarts. Youcouldbebilledfor these resources, depending on your [account status](https://azure.microsoft.com/account/) and [service pricing](https://azure.microsoft.com/pricing/). If you don't need the resources anymore, here's how to delete them:
You've created your text completion with Azure Functions and Azure OpenAI. Now you can learn more about developing Functions using the OpenAI Binding in the reference section.
0 commit comments