You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.Net: Use AsynEnumerable search interface for azure ai search. (#9090)
### Motivation and Context
AzureAISearch has two ways of accessing search results.
### Description
- Switching to IAsyncEnumerable interface to improve performance.
- Switch to AzureOpenAI for integration test embeddings to remove need
for key management.
- Fix small bug in powershell module to create azure ai search test
infra
#9077
### Contribution Checklist
<!-- Before submitting this PR, please make sure: -->
- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
Copy file name to clipboardExpand all lines: dotnet/src/Connectors/Connectors.Memory.AzureAISearch/AzureAISearchVectorStoreRecordCollection.cs
+38-14Lines changed: 38 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -446,7 +446,7 @@ public Task<VectorSearchResults<TRecord>> VectorizableTextSearchAsync(string sea
446
446
/// <param name="searchOptions">The options controlling the behavior of the search operation.</param>
447
447
/// <param name="includeVectors">A value indicating whether to include vectors in the result or not.</param>
448
448
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
/// Map the search results from <see cref="SearchResult{JsonObject}"/> to <see cref="VectorSearchResults{TRecord}"/> objects using the configured mapper type.
511
+
/// </summary>
512
+
/// <param name="results">The search results to map.</param>
513
+
/// <param name="operationName">The name of the current operation for telemetry purposes.</param>
514
+
/// <param name="includeVectors">A value indicating whether to include vectors in the resultset or not.</param>
0 commit comments