diff --git a/.dotnet.azure/sdk/openai/Azure.AI.OpenAI/src/Custom/Batch/AzureCreateBatchOperation.Protocol.cs b/.dotnet.azure/sdk/openai/Azure.AI.OpenAI/src/Custom/Batch/AzureCreateBatchOperation.Protocol.cs index 8dff3182b..49e12ee0e 100644 --- a/.dotnet.azure/sdk/openai/Azure.AI.OpenAI/src/Custom/Batch/AzureCreateBatchOperation.Protocol.cs +++ b/.dotnet.azure/sdk/openai/Azure.AI.OpenAI/src/Custom/Batch/AzureCreateBatchOperation.Protocol.cs @@ -9,7 +9,7 @@ namespace Azure.AI.OpenAI.Batch; /// A long-running operation for executing a batch from an uploaded file of /// requests. /// -public partial class AzureCreateBatchOperation : CreateBatchOperation +internal partial class AzureCreateBatchOperation : CreateBatchOperation { private readonly ClientPipeline _pipeline; private readonly Uri _endpoint; diff --git a/.dotnet.azure/sdk/openai/Azure.AI.OpenAI/src/Custom/FineTuning/AzureCreateJobOperation.Protocol.cs b/.dotnet.azure/sdk/openai/Azure.AI.OpenAI/src/Custom/FineTuning/AzureCreateJobOperation.Protocol.cs index 02af08875..6a3ae030b 100644 --- a/.dotnet.azure/sdk/openai/Azure.AI.OpenAI/src/Custom/FineTuning/AzureCreateJobOperation.Protocol.cs +++ b/.dotnet.azure/sdk/openai/Azure.AI.OpenAI/src/Custom/FineTuning/AzureCreateJobOperation.Protocol.cs @@ -9,9 +9,10 @@ namespace Azure.AI.OpenAI.FineTuning; /// /// A long-running operation for creating a new model from a given dataset. /// +[Experimental("OPENAI001")] public class AzureCreateJobOperation : CreateJobOperation { - private readonly PipelineMessageClassifier DeleteJobClassifier = PipelineMessageClassifier.Create(stackalloc ushort[] { 204 }); + private readonly PipelineMessageClassifier _deleteJobClassifier; private readonly ClientPipeline _pipeline; private readonly Uri _endpoint; private readonly string _jobId; @@ -31,6 +32,7 @@ internal AzureCreateJobOperation( _endpoint = endpoint; _jobId = jobId; _apiVersion = apiVersion; + _deleteJobClassifier = PipelineMessageClassifier.Create(stackalloc ushort[] { 204 }); } [Experimental("AOAI001")] @@ -53,7 +55,7 @@ private PipelineMessage CreateDeleteJobRequestMessage(string fineTuningJobId, Re .WithMethod("DELETE") .WithPath("fine_tuning", "jobs", fineTuningJobId) .WithAccept("application/json") - .WithClassifier(DeleteJobClassifier) + .WithClassifier(_deleteJobClassifier) .WithOptions(options) .Build(); diff --git a/.dotnet.azure/sdk/openai/Azure.AI.OpenAI/src/Custom/VectorStores/AzureCreateVectorStoreOperation.cs b/.dotnet.azure/sdk/openai/Azure.AI.OpenAI/src/Custom/VectorStores/AzureCreateVectorStoreOperation.cs index a0707f371..cef4f3aa6 100644 --- a/.dotnet.azure/sdk/openai/Azure.AI.OpenAI/src/Custom/VectorStores/AzureCreateVectorStoreOperation.cs +++ b/.dotnet.azure/sdk/openai/Azure.AI.OpenAI/src/Custom/VectorStores/AzureCreateVectorStoreOperation.cs @@ -5,7 +5,7 @@ namespace Azure.AI.OpenAI.VectorStores; [Experimental("OPENAI001")] -public class AzureCreateVectorStoreOperation : CreateVectorStoreOperation +internal class AzureCreateVectorStoreOperation : CreateVectorStoreOperation { private readonly ClientPipeline _pipeline; private readonly Uri _endpoint;