Skip to content

Commit ff4c51f

Browse files
author
Jill Grant
authored
Merge pull request #256017 from mrbullwinkle/mrb_10_24_2023_completions_updates
[Azure OpenAI] gpt-35-turbo-instruct
2 parents aefd71f + 35f4a91 commit ff4c51f

File tree

7 files changed

+32
-69
lines changed

7 files changed

+32
-69
lines changed

articles/ai-services/openai/includes/dotnet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ keywords:
2020
- Access granted to the Azure OpenAI service in the desired Azure subscription.
2121
Currently, access to this service is granted only by application. You can apply for access to Azure OpenAI Service by completing the form at [https://aka.ms/oai/access](https://aka.ms/oai/access?azure-portal=true).
2222
- The current version of <a href="https://dotnet.microsoft.com/download/dotnet-core" target="_blank">.NET Core</a>
23-
- An Azure OpenAI Service resource with the `text-davinci-003` model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
23+
- 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).
2424

2525
> [!div class="nextstepaction"]
2626
> [I ran into an issue with the prerequisites.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=DOTNET&Pillar=AOAI&Product=gpt&Page=quickstart&Section=Prerequisites)
@@ -50,7 +50,7 @@ string endpoint = GetEnvironmentVariable("AZURE_OPENAI_ENDPOINT");
5050
string key = GetEnvironmentVariable("AZURE_OPENAI_KEY");
5151

5252
// Enter the deployment name you chose when you deployed the model.
53-
string engine = "text-davinci-003";
53+
string engine = "gpt-35-turbo-instruct";
5454

5555
OpenAIClient client = new(new Uri(endpoint), new AzureKeyCredential(key));
5656

articles/ai-services/openai/includes/go.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ keywords:
2020
- Access granted to the Azure OpenAI service in the desired Azure subscription.
2121
Currently, access to this service is granted only by application. You can apply for access to Azure OpenAI Service by completing the form at [https://aka.ms/oai/access](https://aka.ms/oai/access?azure-portal=true).
2222
- [Go 1.21.0](https://go.dev/dl/) or higher installed locally.
23-
- An Azure OpenAI Service resource with the text-davinci-003 model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
23+
- An Azure OpenAI Service resource with the `gpt-35-turbo-instuct` model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
2424

2525
## Set up
2626

@@ -46,7 +46,7 @@ import (
4646

4747
func main() {
4848
azureOpenAIKey := os.Getenv("AZURE_OPENAI_KEY")
49-
modelDeploymentID := "text-davinci-003"
49+
modelDeploymentID := "gpt-35-turbo-instruct"
5050

5151
azureOpenAIEndpoint := os.Getenv("AZURE_OPENAI_ENDPOINT")
5252

articles/ai-services/openai/includes/java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ keywords:
2121
Currently, access to this service is granted only by application. You can apply for access to Azure OpenAI Service by completing the form at [https://aka.ms/oai/access](https://aka.ms/oai/access?azure-portal=true).
2222
* The current version of the [Java Development Kit (JDK)](https://www.microsoft.com/openjdk)
2323
* The [Gradle build tool](https://gradle.org/install/), or another dependency manager.
24-
- An Azure OpenAI Service resource with either the `gpt-35-turbo` or the `gpt-4` models deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
24+
- 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).
2525

2626
> [!div class="nextstepaction"]
2727
> [I ran into an issue with the prerequisites.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=JAVA&Pillar=AOAI&&Product=gpt&Page=quickstart&Section=Prerequisites)
@@ -111,7 +111,7 @@ dependencies {
111111
public static void main(String[] args) {
112112
String azureOpenaiKey = System.getenv("AZURE_OPENAI_KEY");;
113113
String endpoint = System.getenv("AZURE_OPENAI_ENDPOINT");;
114-
String deploymentOrModelId = "text-davinci-003";
114+
String deploymentOrModelId = "gpt-35-turbo-instruct";
115115
116116
OpenAIClient client = new OpenAIClientBuilder()
117117
.endpoint(endpoint)

articles/ai-services/openai/includes/javascript.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ keywords:
2020
- Access granted to the Azure OpenAI service in the desired Azure subscription.
2121
Currently, access to this service is granted only by application. You can apply for access to Azure OpenAI Service by completing the form at [https://aka.ms/oai/access](https://aka.ms/oai/access?azure-portal=true).
2222
- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
23-
- An Azure OpenAI Service resource with the text-davinci-003 model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
23+
- 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).
2424

2525
> [!div class="nextstepaction"]
2626
> [I ran into an issue with the prerequisites.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=JAVASCRIPT&Pillar=AOAI&&Product=gpt&Page=quickstart&Section=Prerequisites)
@@ -66,7 +66,7 @@ async function main() {
6666
console.log("== Get completions Sample ==");
6767

6868
const client = new OpenAIClient(endpoint, new AzureKeyCredential(azureApiKey));
69-
const deploymentId = "text-davinci-003";
69+
const deploymentId = "gpt-35-turbo-instruct";
7070
const result = await client.getCompletions(deploymentId, prompt);
7171

7272
for (const choice of result.choices) {

0 commit comments

Comments
 (0)