@@ -94,7 +94,7 @@ Create a project client in code:
94
94
95
95
# [ Sync] ( #tab/sync )
96
96
97
- :::code language="csharp" source="~ /azureai-samples-csharp/csharp/ scenarios/projects/basic-csharp/Program.cs" id="snippet_get_project":::
97
+ :::code language="csharp" source="~ /azureai-samples-csharp/scenarios/projects/basic-csharp/Program.cs" id="snippet_get_project":::
98
98
99
99
# [ Async] ( #tab/async )
100
100
@@ -114,7 +114,7 @@ Be sure to check out the [reference](https://aka.ms/aifoundrysdk/reference) and
114
114
115
115
::: zone pivot="programming-language-csharp"
116
116
117
- Be sure to check out the [ reference] ( https://aka.ms/aifoundrysdk/reference ) and [ samples] ( https://aka.ms/azsdk/azure-ai-projects/csharp/ samples ) .
117
+ Be sure to check out the [ reference] ( https://aka.ms/aifoundrysdk/reference ) and [ samples] ( https://aka.ms/azsdk/azure-ai-projects/samples ) .
118
118
119
119
::: zone-end
120
120
@@ -151,7 +151,7 @@ print(response.choices[0].message.content)
151
151
152
152
If you have existing code that uses the OpenAI SDK, you can use the project client to create an ` AzureOpenAI ` client that uses your project's Azure OpenAI connection:
153
153
154
- :::code language="csharp" source="~ /azureai-samples-csharp/csharp/ scenarios/projects/basic-csharp/Program.cs" id="azure_openai":::
154
+ :::code language="csharp" source="~ /azureai-samples-csharp/scenarios/projects/basic-csharp/Program.cs" id="azure_openai":::
155
155
156
156
::: zone-end
157
157
@@ -198,7 +198,7 @@ dotnet add package Azure.AI.Inference
198
198
```
199
199
You can use the project client to get a configured and authenticated ` ChatCompletionsClient ` or ` EmbeddingsClient ` :
200
200
201
- :::code language="csharp" source="~ /azureai-samples-csharp/csharp/ scenarios/projects/basic-csharp/Program.cs" id="snippet_inference":::
201
+ :::code language="csharp" source="~ /azureai-samples-csharp/scenarios/projects/basic-csharp/Program.cs" id="snippet_inference":::
202
202
203
203
::: zone-end
204
204
@@ -327,7 +327,7 @@ dotnet add package Azure.Search.Documents
327
327
```
328
328
Instantiate the search and/or search index client as desired:
329
329
330
- :::code language="csharp" source="~ /azureai-samples-csharp/csharp/ scenarios/projects/basic-csharp/Program.cs" id="azure_aisearch":::
330
+ :::code language="csharp" source="~ /azureai-samples-csharp/scenarios/projects/basic-csharp/Program.cs" id="azure_aisearch":::
331
331
332
332
::: zone-end
333
333
0 commit comments