diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 9eac57fad63c..23459b212c25 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -165,7 +165,7 @@ All should have PrivateAssets="All" set so they don't become package dependencies --> - + diff --git a/eng/emitter-package.json b/eng/emitter-package.json index 150fd777446c..bf3eda933fed 100644 --- a/eng/emitter-package.json +++ b/eng/emitter-package.json @@ -1,6 +1,6 @@ { "main": "dist/src/index.js", "dependencies": { - "@azure-tools/typespec-csharp": "0.2.0-beta.20230412.2" + "@azure-tools/typespec-csharp": "0.2.0-beta.20230413.1" } } diff --git a/sdk/openai/Azure.AI.OpenAI/src/Generated/CompletionsOptions.Serialization.cs b/sdk/openai/Azure.AI.OpenAI/src/Generated/CompletionsOptions.Serialization.cs index cffc279d095a..21a16a8991b3 100644 --- a/sdk/openai/Azure.AI.OpenAI/src/Generated/CompletionsOptions.Serialization.cs +++ b/sdk/openai/Azure.AI.OpenAI/src/Generated/CompletionsOptions.Serialization.cs @@ -5,9 +5,7 @@ #nullable disable -using System.Collections.Generic; using System.Text.Json; -using Azure; using Azure.Core; namespace Azure.AI.OpenAI @@ -15,14 +13,6 @@ namespace Azure.AI.OpenAI public partial class CompletionsOptions : IUtf8JsonSerializable { - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static CompletionsOptions FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content); - return DeserializeCompletionsOptions(document.RootElement); - } - /// Convert into a Utf8JsonRequestContent. internal virtual RequestContent ToRequestContent() { diff --git a/sdk/openai/Azure.AI.OpenAI/src/Generated/CompletionsOptions.cs b/sdk/openai/Azure.AI.OpenAI/src/Generated/CompletionsOptions.cs index 478004fe5caa..5ebdce9cc7b9 100644 --- a/sdk/openai/Azure.AI.OpenAI/src/Generated/CompletionsOptions.cs +++ b/sdk/openai/Azure.AI.OpenAI/src/Generated/CompletionsOptions.cs @@ -6,7 +6,6 @@ #nullable disable using System.Collections.Generic; -using System.Linq; using Azure.Core; namespace Azure.AI.OpenAI diff --git a/sdk/openai/Azure.AI.OpenAI/src/Generated/EmbeddingsOptions.Serialization.cs b/sdk/openai/Azure.AI.OpenAI/src/Generated/EmbeddingsOptions.Serialization.cs index 8fadc82e73d6..7b498c32e675 100644 --- a/sdk/openai/Azure.AI.OpenAI/src/Generated/EmbeddingsOptions.Serialization.cs +++ b/sdk/openai/Azure.AI.OpenAI/src/Generated/EmbeddingsOptions.Serialization.cs @@ -6,7 +6,6 @@ #nullable disable using System.Text.Json; -using Azure; using Azure.Core; namespace Azure.AI.OpenAI @@ -14,14 +13,6 @@ namespace Azure.AI.OpenAI public partial class EmbeddingsOptions : IUtf8JsonSerializable { - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static EmbeddingsOptions FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content); - return DeserializeEmbeddingsOptions(document.RootElement); - } - /// Convert into a Utf8JsonRequestContent. internal virtual RequestContent ToRequestContent() {