Skip to content

Commit c70f8d4

Browse files
author
SDKAuto
committed
CodeGen from PR 33832 in Azure/azure-rest-api-specs
Merge e0eccc0523b71159c093f642307175564ab69a27 into 702b83581350953f0ab6708cbf29a1357269afc3
1 parent 0fafdf4 commit c70f8d4

File tree

10 files changed

+46
-45
lines changed

10 files changed

+46
-45
lines changed

sdk/ai/Azure.AI.Inference/api/Azure.AI.Inference.net8.0.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ public static partial class AIInferenceModelFactory
4747
}
4848
public partial class AzureAIInferenceClientOptions : Azure.Core.ClientOptions
4949
{
50-
public AzureAIInferenceClientOptions(Azure.AI.Inference.AzureAIInferenceClientOptions.ServiceVersion version = Azure.AI.Inference.AzureAIInferenceClientOptions.ServiceVersion.V2024_05_01_Preview) { }
50+
public AzureAIInferenceClientOptions(Azure.AI.Inference.AzureAIInferenceClientOptions.ServiceVersion version = Azure.AI.Inference.AzureAIInferenceClientOptions.ServiceVersion.V2025_04_01) { }
5151
public enum ServiceVersion
5252
{
53-
V2024_05_01_Preview = 1,
53+
V2025_04_01 = 1,
5454
}
5555
}
5656
public partial class ChatChoice : System.ClientModel.Primitives.IJsonModel<Azure.AI.Inference.ChatChoice>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Inference.ChatChoice>

sdk/ai/Azure.AI.Inference/api/Azure.AI.Inference.netstandard2.0.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ public static partial class AIInferenceModelFactory
4747
}
4848
public partial class AzureAIInferenceClientOptions : Azure.Core.ClientOptions
4949
{
50-
public AzureAIInferenceClientOptions(Azure.AI.Inference.AzureAIInferenceClientOptions.ServiceVersion version = Azure.AI.Inference.AzureAIInferenceClientOptions.ServiceVersion.V2024_05_01_Preview) { }
50+
public AzureAIInferenceClientOptions(Azure.AI.Inference.AzureAIInferenceClientOptions.ServiceVersion version = Azure.AI.Inference.AzureAIInferenceClientOptions.ServiceVersion.V2025_04_01) { }
5151
public enum ServiceVersion
5252
{
53-
V2024_05_01_Preview = 1,
53+
V2025_04_01 = 1,
5454
}
5555
}
5656
public partial class ChatChoice : System.ClientModel.Primitives.IJsonModel<Azure.AI.Inference.ChatChoice>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Inference.ChatChoice>

sdk/ai/Azure.AI.Inference/src/Generated/AzureAIInferenceClientOptions.cs

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/ai/Azure.AI.Inference/src/Generated/Docs/ChatCompletionsClient.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ChatCompletionsClient client = new ChatCompletionsClient(endpoint, credential);
1111
1212
Response<ModelInfo> response = await client.GetModelInfoAsync();
1313
]]></code>
14-
This sample shows how to call GetModelInfoAsync.
14+
This sample shows how to call GetModelInfoAsync with all parameters.
1515
<code><![CDATA[
1616
Uri endpoint = new Uri("<endpoint>");
1717
AzureKeyCredential credential = new AzureKeyCredential("<key>");
@@ -30,7 +30,7 @@ ChatCompletionsClient client = new ChatCompletionsClient(endpoint, credential);
3030
3131
Response<ModelInfo> response = client.GetModelInfo();
3232
]]></code>
33-
This sample shows how to call GetModelInfo.
33+
This sample shows how to call GetModelInfo with all parameters.
3434
<code><![CDATA[
3535
Uri endpoint = new Uri("<endpoint>");
3636
AzureKeyCredential credential = new AzureKeyCredential("<key>");
@@ -54,7 +54,7 @@ Console.WriteLine(result.GetProperty("model_name").ToString());
5454
Console.WriteLine(result.GetProperty("model_type").ToString());
5555
Console.WriteLine(result.GetProperty("model_provider_name").ToString());
5656
]]></code>
57-
This sample shows how to call GetModelInfoAsync and parse the result.
57+
This sample shows how to call GetModelInfoAsync with all parameters and parse the result.
5858
<code><![CDATA[
5959
Uri endpoint = new Uri("<endpoint>");
6060
AzureKeyCredential credential = new AzureKeyCredential("<key>");
@@ -83,7 +83,7 @@ Console.WriteLine(result.GetProperty("model_name").ToString());
8383
Console.WriteLine(result.GetProperty("model_type").ToString());
8484
Console.WriteLine(result.GetProperty("model_provider_name").ToString());
8585
]]></code>
86-
This sample shows how to call GetModelInfo and parse the result.
86+
This sample shows how to call GetModelInfo with all parameters and parse the result.
8787
<code><![CDATA[
8888
Uri endpoint = new Uri("<endpoint>");
8989
AzureKeyCredential credential = new AzureKeyCredential("<key>");

sdk/ai/Azure.AI.Inference/src/Generated/Docs/EmbeddingsClient.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ EmbeddingsClient client = new EmbeddingsClient(endpoint, credential);
1111
1212
Response<ModelInfo> response = await client.GetModelInfoAsync();
1313
]]></code>
14-
This sample shows how to call GetModelInfoAsync.
14+
This sample shows how to call GetModelInfoAsync with all parameters.
1515
<code><![CDATA[
1616
Uri endpoint = new Uri("<endpoint>");
1717
AzureKeyCredential credential = new AzureKeyCredential("<key>");
@@ -30,7 +30,7 @@ EmbeddingsClient client = new EmbeddingsClient(endpoint, credential);
3030
3131
Response<ModelInfo> response = client.GetModelInfo();
3232
]]></code>
33-
This sample shows how to call GetModelInfo.
33+
This sample shows how to call GetModelInfo with all parameters.
3434
<code><![CDATA[
3535
Uri endpoint = new Uri("<endpoint>");
3636
AzureKeyCredential credential = new AzureKeyCredential("<key>");
@@ -54,7 +54,7 @@ Console.WriteLine(result.GetProperty("model_name").ToString());
5454
Console.WriteLine(result.GetProperty("model_type").ToString());
5555
Console.WriteLine(result.GetProperty("model_provider_name").ToString());
5656
]]></code>
57-
This sample shows how to call GetModelInfoAsync and parse the result.
57+
This sample shows how to call GetModelInfoAsync with all parameters and parse the result.
5858
<code><![CDATA[
5959
Uri endpoint = new Uri("<endpoint>");
6060
AzureKeyCredential credential = new AzureKeyCredential("<key>");
@@ -83,7 +83,7 @@ Console.WriteLine(result.GetProperty("model_name").ToString());
8383
Console.WriteLine(result.GetProperty("model_type").ToString());
8484
Console.WriteLine(result.GetProperty("model_provider_name").ToString());
8585
]]></code>
86-
This sample shows how to call GetModelInfo and parse the result.
86+
This sample shows how to call GetModelInfo with all parameters and parse the result.
8787
<code><![CDATA[
8888
Uri endpoint = new Uri("<endpoint>");
8989
AzureKeyCredential credential = new AzureKeyCredential("<key>");

sdk/ai/Azure.AI.Inference/src/Generated/Docs/ImageEmbeddingsClient.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ImageEmbeddingsClient client = new ImageEmbeddingsClient(endpoint, credential);
1111
1212
Response<ModelInfo> response = await client.GetModelInfoAsync();
1313
]]></code>
14-
This sample shows how to call GetModelInfoAsync.
14+
This sample shows how to call GetModelInfoAsync with all parameters.
1515
<code><![CDATA[
1616
Uri endpoint = new Uri("<endpoint>");
1717
AzureKeyCredential credential = new AzureKeyCredential("<key>");
@@ -30,7 +30,7 @@ ImageEmbeddingsClient client = new ImageEmbeddingsClient(endpoint, credential);
3030
3131
Response<ModelInfo> response = client.GetModelInfo();
3232
]]></code>
33-
This sample shows how to call GetModelInfo.
33+
This sample shows how to call GetModelInfo with all parameters.
3434
<code><![CDATA[
3535
Uri endpoint = new Uri("<endpoint>");
3636
AzureKeyCredential credential = new AzureKeyCredential("<key>");
@@ -54,7 +54,7 @@ Console.WriteLine(result.GetProperty("model_name").ToString());
5454
Console.WriteLine(result.GetProperty("model_type").ToString());
5555
Console.WriteLine(result.GetProperty("model_provider_name").ToString());
5656
]]></code>
57-
This sample shows how to call GetModelInfoAsync and parse the result.
57+
This sample shows how to call GetModelInfoAsync with all parameters and parse the result.
5858
<code><![CDATA[
5959
Uri endpoint = new Uri("<endpoint>");
6060
AzureKeyCredential credential = new AzureKeyCredential("<key>");
@@ -83,7 +83,7 @@ Console.WriteLine(result.GetProperty("model_name").ToString());
8383
Console.WriteLine(result.GetProperty("model_type").ToString());
8484
Console.WriteLine(result.GetProperty("model_provider_name").ToString());
8585
]]></code>
86-
This sample shows how to call GetModelInfo and parse the result.
86+
This sample shows how to call GetModelInfo with all parameters and parse the result.
8787
<code><![CDATA[
8888
Uri endpoint = new Uri("<endpoint>");
8989
AzureKeyCredential credential = new AzureKeyCredential("<key>");

sdk/ai/Azure.AI.Inference/tests/Generated/Samples/Samples_ChatCompletionsClient.cs

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/ai/Azure.AI.Inference/tests/Generated/Samples/Samples_EmbeddingsClient.cs

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/ai/Azure.AI.Inference/tests/Generated/Samples/Samples_ImageEmbeddingsClient.cs

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
directory: specification/ai/ModelClient
2+
commit: 85516dd4e0bdfa4a8e3ac34d4fa288c7a8943e3a
23
repo: Azure/azure-rest-api-specs
3-
commit: 9524584541371b1fc89720e9325332f52f850e70
4+
additionalDirectories:

0 commit comments

Comments
 (0)