diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 0c05bcc8f0eb..f3bba5adcdee 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -174,7 +174,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 8a24cf60b0fa..d6efb951d3f9 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.20230920.3" + "@azure-tools/typespec-csharp": "0.2.0-alpha.20230921.10" } } diff --git a/sdk/openai/Azure.AI.OpenAI/src/Generated/AzureCognitiveSearchChatExtensionConfiguration.cs b/sdk/openai/Azure.AI.OpenAI/src/Generated/AzureCognitiveSearchChatExtensionConfiguration.cs new file mode 100644 index 000000000000..37a78605a28a --- /dev/null +++ b/sdk/openai/Azure.AI.OpenAI/src/Generated/AzureCognitiveSearchChatExtensionConfiguration.cs @@ -0,0 +1,21 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using Azure; +using Azure.Core; + +namespace Azure.AI.OpenAI +{ + /// + /// A specific representation of configurable options for Azure Cognitive Search when using it as an Azure OpenAI chat + /// extension. + /// + public partial class AzureCognitiveSearchChatExtensionConfiguration + { + } +} diff --git a/sdk/openai/Azure.AI.OpenAI/src/Generated/AzureCognitiveSearchIndexFieldMappingOptions.cs b/sdk/openai/Azure.AI.OpenAI/src/Generated/AzureCognitiveSearchIndexFieldMappingOptions.cs new file mode 100644 index 000000000000..118fca80f2c4 --- /dev/null +++ b/sdk/openai/Azure.AI.OpenAI/src/Generated/AzureCognitiveSearchIndexFieldMappingOptions.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.AI.OpenAI +{ + /// Optional settings to control how fields are processed when using a configured Azure Cognitive Search resource. + public partial class AzureCognitiveSearchIndexFieldMappingOptions + { + } +} diff --git a/sdk/openai/Azure.AI.OpenAI/src/Generated/AzureCognitiveSearchQueryType.cs b/sdk/openai/Azure.AI.OpenAI/src/Generated/AzureCognitiveSearchQueryType.cs new file mode 100644 index 000000000000..cc8e6e9075b1 --- /dev/null +++ b/sdk/openai/Azure.AI.OpenAI/src/Generated/AzureCognitiveSearchQueryType.cs @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.AI.OpenAI +{ + /// The type of Azure Cognitive Search retrieval query that should be executed when using it as an Azure OpenAI chat extension. + public readonly partial struct AzureCognitiveSearchQueryType : IEquatable + { + /// Determines if two values are the same. + public static bool operator ==(AzureCognitiveSearchQueryType left, AzureCognitiveSearchQueryType right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(AzureCognitiveSearchQueryType left, AzureCognitiveSearchQueryType right) => !left.Equals(right); + /// Converts a string to a . + public static implicit operator AzureCognitiveSearchQueryType(string value) => new AzureCognitiveSearchQueryType(value); + } +}