@@ -62,7 +62,7 @@ client, err := azopenai.NewClientWithKeyCredential(azureOpenAIEndpoint, credenti
62
62
63
63
To run the sample:
64
64
65
- 1 . Create a new file named * chat_completions-keyless .go* . Copy the following code into the * chat_completions-keyless .go* file.
65
+ 1 . Create a new file named * chat_completions_keyless .go* . Copy the following code into the * chat_completions_keyless .go* file.
66
66
67
67
``` go
68
68
package main
@@ -178,7 +178,7 @@ To run the sample:
178
178
1 . Run the following command to create a new Go module:
179
179
180
180
` ` ` shell
181
- go mod init chat_completions-keyless .go
181
+ go mod init chat_completions_keyless .go
182
182
` ` `
183
183
184
184
1 . Run ` go mod tidy` to install the required dependencies:
@@ -190,14 +190,14 @@ To run the sample:
190
190
1 . Run the following command to run the sample:
191
191
192
192
` ` ` shell
193
- go run chat_completions-keyless .go
193
+ go run chat_completions_keyless .go
194
194
` ` `
195
195
196
196
#### [API key](#tab/api-key)
197
197
198
198
To run the sample:
199
199
200
- 1 . Create a new file named *chat_completions-api- key.go *. Copy the following code into the *chat_completions-api -key.go * file.
200
+ 1 . Create a new file named *chat_completions_api- key.go *. Copy the following code into the *chat_completions_api -key.go * file.
201
201
202
202
` ` ` go
203
203
package main
@@ -310,7 +310,7 @@ To run the sample:
310
310
1 . Run the following command to create a new Go module:
311
311
312
312
` ` ` shell
313
- go mod init chat_completions-api -key.go
313
+ go mod init chat_completions_api -key.go
314
314
` ` `
315
315
316
316
1 . Run ` go mod tidy` to install the required dependencies:
@@ -322,7 +322,7 @@ To run the sample:
322
322
1 . Run the following command to run the sample:
323
323
324
324
` ` ` shell
325
- go run chat_completions-api -key.go
325
+ go run chat_completions_api -key.go
326
326
` ` `
327
327
328
328
---
0 commit comments