diff --git a/specification/cognitiveservices/OpenAI.Inference/client.tsp b/specification/cognitiveservices/OpenAI.Inference/client.tsp index 6a68b5b38d5e..d74a592bcdcd 100644 --- a/specification/cognitiveservices/OpenAI.Inference/client.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/client.tsp @@ -5,15 +5,17 @@ using Azure.ClientGenerator.Core; // Azure-specific long-running operations should be treated as implementation details that are wrapped into // appropriately merged public surface. -@@internal(Azure.OpenAI.beginAzureBatchImageGeneration); -@@internal(Azure.OpenAI.getAzureBatchImageGenerationOperationStatus); +@@access(Azure.OpenAI.beginAzureBatchImageGeneration, Access.internal); +@@access(Azure.OpenAI.getAzureBatchImageGenerationOperationStatus, + Access.internal +); // Azure-specific Chat Completions with extensions should be handled by clients as a conditional selection within the // shared Chat Completions route, with the selection gated by the presence or non-presence of additional child // configuration options on the request payload options model. -@@internal(Azure.OpenAI.getChatCompletionsWithAzureExtensions); +@@access(Azure.OpenAI.getChatCompletionsWithAzureExtensions, Access.internal); // Some models from routes with suppressed visibility are still desired for custom public surface. -@@include(Azure.OpenAI.ImageGenerationOptions); -@@include(Azure.OpenAI.ImageLocation); -@@include(Azure.OpenAI.ImageGenerations); +@@usage(Azure.OpenAI.ImageGenerationOptions, Usage.input | Usage.output); +@@usage(Azure.OpenAI.ImageLocation, Usage.input | Usage.output); +@@usage(Azure.OpenAI.ImageGenerations, Usage.input | Usage.output);