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
-[Azure CLI](/cli/azure/install-azure-cli) used for passwordless authentication in a local development environment, create the necessary context by signing in with the Azure CLI.
26
27
- An Azure OpenAI Service resource with the `gpt-35-turbo-instruct` model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
27
28
28
29
> [!div class="nextstepaction"]
@@ -32,6 +33,7 @@ ms.date: 05/20/2024
32
33
33
34
- An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services?azure-portal=true)
34
35
-[LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
36
+
-[Azure CLI](/cli/azure/install-azure-cli) used for passwordless authentication in a local development environment, create the necessary context by signing in with the Azure CLI.
35
37
- An Azure OpenAI Service resource with the `gpt-35-turbo-instruct` model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
36
38
37
39
> [!div class="nextstepaction"]
@@ -64,7 +66,138 @@ Your app's _package.json_ file will be updated with the dependencies.
64
66
65
67
Open a command prompt where you created the new project, and create a new file named Completion.js. Copy the following code into the Completion.js file.
constdeployment="gpt-35-turbo-instruct"; //The deployment name for your completions API model. The instruct model is the only new model that supports the legacy API.
0 commit comments