Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/ai/Azure.AI.Inference/api/Azure.AI.Inference.net8.0.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public static partial class AIInferenceModelFactory
}
public partial class AzureAIInferenceClientOptions : Azure.Core.ClientOptions
{
public AzureAIInferenceClientOptions(Azure.AI.Inference.AzureAIInferenceClientOptions.ServiceVersion version = Azure.AI.Inference.AzureAIInferenceClientOptions.ServiceVersion.V2024_05_01_Preview) { }
public AzureAIInferenceClientOptions(Azure.AI.Inference.AzureAIInferenceClientOptions.ServiceVersion version = Azure.AI.Inference.AzureAIInferenceClientOptions.ServiceVersion.V2025_04_01) { }
public enum ServiceVersion
{
V2024_05_01_Preview = 1,
V2025_04_01 = 1,
}
}
public partial class ChatChoice : System.ClientModel.Primitives.IJsonModel<Azure.AI.Inference.ChatChoice>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Inference.ChatChoice>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public static partial class AIInferenceModelFactory
}
public partial class AzureAIInferenceClientOptions : Azure.Core.ClientOptions
{
public AzureAIInferenceClientOptions(Azure.AI.Inference.AzureAIInferenceClientOptions.ServiceVersion version = Azure.AI.Inference.AzureAIInferenceClientOptions.ServiceVersion.V2024_05_01_Preview) { }
public AzureAIInferenceClientOptions(Azure.AI.Inference.AzureAIInferenceClientOptions.ServiceVersion version = Azure.AI.Inference.AzureAIInferenceClientOptions.ServiceVersion.V2025_04_01) { }
public enum ServiceVersion
{
V2024_05_01_Preview = 1,
V2025_04_01 = 1,
}
}
public partial class ChatChoice : System.ClientModel.Primitives.IJsonModel<Azure.AI.Inference.ChatChoice>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Inference.ChatChoice>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ChatCompletionsClient client = new ChatCompletionsClient(endpoint, credential);

Response<ModelInfo> response = await client.GetModelInfoAsync();
]]></code>
This sample shows how to call GetModelInfoAsync.
This sample shows how to call GetModelInfoAsync with all parameters.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
Expand All @@ -30,7 +30,7 @@ ChatCompletionsClient client = new ChatCompletionsClient(endpoint, credential);

Response<ModelInfo> response = client.GetModelInfo();
]]></code>
This sample shows how to call GetModelInfo.
This sample shows how to call GetModelInfo with all parameters.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
Expand All @@ -54,7 +54,7 @@ Console.WriteLine(result.GetProperty("model_name").ToString());
Console.WriteLine(result.GetProperty("model_type").ToString());
Console.WriteLine(result.GetProperty("model_provider_name").ToString());
]]></code>
This sample shows how to call GetModelInfoAsync and parse the result.
This sample shows how to call GetModelInfoAsync with all parameters and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
Expand Down Expand Up @@ -83,7 +83,7 @@ Console.WriteLine(result.GetProperty("model_name").ToString());
Console.WriteLine(result.GetProperty("model_type").ToString());
Console.WriteLine(result.GetProperty("model_provider_name").ToString());
]]></code>
This sample shows how to call GetModelInfo and parse the result.
This sample shows how to call GetModelInfo with all parameters and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ EmbeddingsClient client = new EmbeddingsClient(endpoint, credential);

Response<ModelInfo> response = await client.GetModelInfoAsync();
]]></code>
This sample shows how to call GetModelInfoAsync.
This sample shows how to call GetModelInfoAsync with all parameters.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
Expand All @@ -30,7 +30,7 @@ EmbeddingsClient client = new EmbeddingsClient(endpoint, credential);

Response<ModelInfo> response = client.GetModelInfo();
]]></code>
This sample shows how to call GetModelInfo.
This sample shows how to call GetModelInfo with all parameters.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
Expand All @@ -54,7 +54,7 @@ Console.WriteLine(result.GetProperty("model_name").ToString());
Console.WriteLine(result.GetProperty("model_type").ToString());
Console.WriteLine(result.GetProperty("model_provider_name").ToString());
]]></code>
This sample shows how to call GetModelInfoAsync and parse the result.
This sample shows how to call GetModelInfoAsync with all parameters and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
Expand Down Expand Up @@ -83,7 +83,7 @@ Console.WriteLine(result.GetProperty("model_name").ToString());
Console.WriteLine(result.GetProperty("model_type").ToString());
Console.WriteLine(result.GetProperty("model_provider_name").ToString());
]]></code>
This sample shows how to call GetModelInfo and parse the result.
This sample shows how to call GetModelInfo with all parameters and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ImageEmbeddingsClient client = new ImageEmbeddingsClient(endpoint, credential);

Response<ModelInfo> response = await client.GetModelInfoAsync();
]]></code>
This sample shows how to call GetModelInfoAsync.
This sample shows how to call GetModelInfoAsync with all parameters.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
Expand All @@ -30,7 +30,7 @@ ImageEmbeddingsClient client = new ImageEmbeddingsClient(endpoint, credential);

Response<ModelInfo> response = client.GetModelInfo();
]]></code>
This sample shows how to call GetModelInfo.
This sample shows how to call GetModelInfo with all parameters.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
Expand All @@ -54,7 +54,7 @@ Console.WriteLine(result.GetProperty("model_name").ToString());
Console.WriteLine(result.GetProperty("model_type").ToString());
Console.WriteLine(result.GetProperty("model_provider_name").ToString());
]]></code>
This sample shows how to call GetModelInfoAsync and parse the result.
This sample shows how to call GetModelInfoAsync with all parameters and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
Expand Down Expand Up @@ -83,7 +83,7 @@ Console.WriteLine(result.GetProperty("model_name").ToString());
Console.WriteLine(result.GetProperty("model_type").ToString());
Console.WriteLine(result.GetProperty("model_provider_name").ToString());
]]></code>
This sample shows how to call GetModelInfo and parse the result.
This sample shows how to call GetModelInfo with all parameters and parse the result.
<code><![CDATA[
Uri endpoint = new Uri("<endpoint>");
AzureKeyCredential credential = new AzureKeyCredential("<key>");
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion sdk/ai/Azure.AI.Inference/tsp-location.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
directory: specification/ai/ModelClient
commit: 85516dd4e0bdfa4a8e3ac34d4fa288c7a8943e3a
repo: Azure/azure-rest-api-specs
commit: 9524584541371b1fc89720e9325332f52f850e70
additionalDirectories: