Skip to content

Commit b74fdf7

Browse files
Merge pull request #279219 from mrbullwinkle/mrb_06_25_2024_github_issue_model_deployment_name
[Azure OpenAI] Update code commments
2 parents 654692f + 097da7a commit b74fdf7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ dependencies {
110110
public static void main(String[] args) {
111111
String azureOpenaiKey = System.getenv("AZURE_OPENAI_API_KEY");;
112112
String endpoint = System.getenv("AZURE_OPENAI_ENDPOINT");;
113-
String deploymentOrModelId = "gpt-35-turbo";
113+
String deploymentOrModelId = "gpt-35-turbo"; //Change to match your deployment name
114114
115115
OpenAIClient client = new OpenAIClientBuilder()
116116
.endpoint(endpoint)

articles/ai-services/openai/includes/chatgpt-spring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ms.date: 11/27/2023
1717
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).
1818
- The current version of the [Java Development Kit (JDK)](https://www.microsoft.com/openjdk)
1919
- The [Spring Boot CLI tool](https://docs.spring.io/spring-boot/docs/current/reference/html/getting-started.html#getting-started.installing.cli)
20-
- An Azure OpenAI Service resource with the `gpt-35-turbo` model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
20+
- An Azure OpenAI Service resource with the `gpt-35-turbo` model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md). This example assumes that your deployment name matches the model name `gpt-35-turbo`
2121

2222
> [!div class="nextstepaction"]
2323
> [I ran into an issue with the prerequisites.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=SPRING&Pillar=AOAI&Product=Chatgpt&Page=quickstart&Section=Prerequisites)

0 commit comments

Comments
 (0)