From b7b9ced033c7166acfa60096fe9a7392bd973d6f Mon Sep 17 00:00:00 2001 From: Shivangi Reja Date: Wed, 4 Oct 2023 14:57:20 -0700 Subject: [PATCH 1/4] [Search] Update changelog for "11.5.0-beta.5" release. --- sdk/search/Azure.Search.Documents/CHANGELOG.md | 18 +++++++++++++----- sdk/search/tests.yml | 2 +- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/sdk/search/Azure.Search.Documents/CHANGELOG.md b/sdk/search/Azure.Search.Documents/CHANGELOG.md index 850894609bb4..8e6b1f492397 100644 --- a/sdk/search/Azure.Search.Documents/CHANGELOG.md +++ b/sdk/search/Azure.Search.Documents/CHANGELOG.md @@ -1,14 +1,22 @@ # Release History -## 11.5.0-beta.5 (Unreleased) +## 11.5.0-beta.5 (2023-10-09) ### Features Added +- Added support for `Vectorizers`, which contains configuration options for vectorizing text vector queries, and `Profiles`, which define combinations of configurations to use with vector search within `VectorSearch`. +- Added the `VectorQueries` base type, which is used for the query parameters for vector and hybrid search queries. Derived classes include `VectorizableTextQuery` and `RawVectorQuery`. With `RawVectorQuery`, users can pass raw vector values for vector search, while `VectorizableTextQuery` allows the passing of text values to be vectorized for vector search. +- Added the `VectorSearchAlgorithmConfiguration` base type, containing configuration options specific to the algorithm used during indexing and/or querying. Derived classes include `ExhaustiveKnnVectorSearchAlgorithmConfiguration` and `HnswVectorSearchAlgorithmConfiguration`. +- Added `SearchOptions.VectorFilterMode`, determining whether filters are applied before or after vector search is executed. +- Added `SearchOptions.SemanticQuery`, which enables the setting of a dedicated search query for semantic reranking, semantic captions, and semantic answers. +- Added support for `AzureOpenAIEmbeddingSkill`, which enables the generation of vector embeddings for given text inputs using the Azure Open AI service. +- Added `SearchIndexStatistics.VectorIndexSize`, which reports the amount of memory consumed by vectors in the index. +- Added `KnowledgeStore.Parameters`, which defines a dictionary of knowledge store-specific configuration properties. +- Added `SearchIndexerSkillset.IndexProjections`, which specifies additional projections to secondary search indexes. ### Breaking Changes - -### Bugs Fixed - -### Other Changes +- In `SearchOptions`, the `IList Vectors` property has been removed in favor of the abstract base type `IList VectorQueries`. +- In `SearchField`, the `vectorSearchConfiguration` property has been removed in favor of the new `VectorSearchProfile` property. +- In `VectorSearch`, `AlgorithmConfigurations` has been renamed to `Algorithms`. ## 11.5.0-beta.4 (2023-08-07) diff --git a/sdk/search/tests.yml b/sdk/search/tests.yml index e955b7cdb942..58fc879ff13f 100644 --- a/sdk/search/tests.yml +++ b/sdk/search/tests.yml @@ -14,7 +14,7 @@ extends: CloudConfig: Preview: SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources-preview) - Location: 'eastus2euap' + Location: 'westcentralus' UsGov: SubscriptionConfiguration: $(sub-config-gov-test-resources) China: From cae2d2f022526ee43b3c0dfe199a7b95f1ef90be Mon Sep 17 00:00:00 2001 From: Shivangi Reja Date: Wed, 4 Oct 2023 15:04:25 -0700 Subject: [PATCH 2/4] Update changelog --- sdk/search/Azure.Search.Documents/CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/search/Azure.Search.Documents/CHANGELOG.md b/sdk/search/Azure.Search.Documents/CHANGELOG.md index 8e6b1f492397..424119737694 100644 --- a/sdk/search/Azure.Search.Documents/CHANGELOG.md +++ b/sdk/search/Azure.Search.Documents/CHANGELOG.md @@ -3,9 +3,9 @@ ## 11.5.0-beta.5 (2023-10-09) ### Features Added -- Added support for `Vectorizers`, which contains configuration options for vectorizing text vector queries, and `Profiles`, which define combinations of configurations to use with vector search within `VectorSearch`. -- Added the `VectorQueries` base type, which is used for the query parameters for vector and hybrid search queries. Derived classes include `VectorizableTextQuery` and `RawVectorQuery`. With `RawVectorQuery`, users can pass raw vector values for vector search, while `VectorizableTextQuery` allows the passing of text values to be vectorized for vector search. +- Added support for `VectorSearch.Vectorizers`, which contains configuration options for vectorizing text vector queries, and `VectorSearch.Profiles`, which define combinations of configurations to use with vector search. - Added the `VectorSearchAlgorithmConfiguration` base type, containing configuration options specific to the algorithm used during indexing and/or querying. Derived classes include `ExhaustiveKnnVectorSearchAlgorithmConfiguration` and `HnswVectorSearchAlgorithmConfiguration`. +- Added the `SearchOptions.VectorQueries` base type, which is used for the query parameters for vector and hybrid search queries. Derived classes include `VectorizableTextQuery` and `RawVectorQuery`. With `RawVectorQuery`, users can pass raw vector values for vector search, while `VectorizableTextQuery` allows the passing of text values to be vectorized for vector search. - Added `SearchOptions.VectorFilterMode`, determining whether filters are applied before or after vector search is executed. - Added `SearchOptions.SemanticQuery`, which enables the setting of a dedicated search query for semantic reranking, semantic captions, and semantic answers. - Added support for `AzureOpenAIEmbeddingSkill`, which enables the generation of vector embeddings for given text inputs using the Azure Open AI service. From d7fb01fbc1d3330cadaad87f851c8d3bff0f6e84 Mon Sep 17 00:00:00 2001 From: Shivangi Reja Date: Wed, 4 Oct 2023 16:59:35 -0700 Subject: [PATCH 3/4] Fix tests --- sdk/search/Azure.Search.Documents/assets.json | 2 +- .../Azure.Search.Documents/tests/SearchIndexerClientTests.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/search/Azure.Search.Documents/assets.json b/sdk/search/Azure.Search.Documents/assets.json index 57becb523891..79b39f7ffbd6 100644 --- a/sdk/search/Azure.Search.Documents/assets.json +++ b/sdk/search/Azure.Search.Documents/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "net", "TagPrefix": "net/search/Azure.Search.Documents", - "Tag": "net/search/Azure.Search.Documents_53888408bf" + "Tag": "net/search/Azure.Search.Documents_29bd8e50e5" } diff --git a/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs b/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs index cff26097da9f..d1952aba8613 100644 --- a/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs @@ -64,6 +64,7 @@ static string GetDuplicates(IEnumerable values) } [Test] + [SyncOnly] public async Task CreateAzureBlobIndexer() { await using SearchResources resources = await SearchResources.CreateWithBlobStorageAndIndexAsync(this, populate: true); From 10fe95e9eb447acceac8bbc1504017fb40eaf693 Mon Sep 17 00:00:00 2001 From: Shivangi Reja Date: Wed, 4 Oct 2023 23:44:20 -0700 Subject: [PATCH 4/4] Revert tests --- sdk/search/Azure.Search.Documents/assets.json | 2 +- .../Azure.Search.Documents/tests/SearchIndexerClientTests.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sdk/search/Azure.Search.Documents/assets.json b/sdk/search/Azure.Search.Documents/assets.json index 79b39f7ffbd6..57becb523891 100644 --- a/sdk/search/Azure.Search.Documents/assets.json +++ b/sdk/search/Azure.Search.Documents/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "net", "TagPrefix": "net/search/Azure.Search.Documents", - "Tag": "net/search/Azure.Search.Documents_29bd8e50e5" + "Tag": "net/search/Azure.Search.Documents_53888408bf" } diff --git a/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs b/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs index d1952aba8613..cff26097da9f 100644 --- a/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/SearchIndexerClientTests.cs @@ -64,7 +64,6 @@ static string GetDuplicates(IEnumerable values) } [Test] - [SyncOnly] public async Task CreateAzureBlobIndexer() { await using SearchResources resources = await SearchResources.CreateWithBlobStorageAndIndexAsync(this, populate: true);