Repository navigation
.Net: [Feature Branch] Vector Store Logging - #10865
Merged
Dmytro Struk (dmytrostruk) merged 12 commits intoMar 12, 2025
Merged
Dmytro Struk (dmytrostruk) merged 12 commits into
Dmytro Struk (dmytrostruk) merged 12 commits into
Conversation
Mark Wallace (markwallace-microsoft)
approved these changes
Mar 11, 2025
Mark Wallace (markwallace-microsoft)
left a comment
Contributor
There was a problem hiding this comment.
Just some documentation updates (I didn't comment everywhere) and the question about adding the same instance twice.
Dmytro Struk (dmytrostruk)
had a problem deploying
to
integration
March 11, 2025 18:26 — with
GitHub Actions
Error
Dmytro Struk (dmytrostruk)
temporarily deployed
to
integration
March 11, 2025 18:33 — with
GitHub Actions
Inactive
Dmytro Struk (dmytrostruk)
temporarily deployed
to
integration
March 11, 2025 19:16 — with
GitHub Actions
Inactive
Dmytro Struk (dmytrostruk)
merged commit Mar 12, 2025
3fca31f
into
microsoft:feature-vector-data-telemetry
3 tasks
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Related: #10596
This PR enhances the vector store functionality by adding builder pattern implementations and logging decorators for key vector data interfaces, along with supporting utilities and DI integration.
Interfaces handled:
IKeywordHybridSearch<TRecord>IVectorizableTextSearch<TRecord>IVectorizedSearch<TRecord>IVectorStoreIVectorStoreRecordCollection<TKey, TRecord>Class types added:
UseandBuildmethods.LoggingExtensionsreusable logging methods.AsBuildermethods to convert service instances into builders.UseLoggingmethods to integrate logging into builder pipelines.Add{T}andAddKeyed{T}methods for DI registration with configurable lifetimes.Other changes:
Verifyclass intoVerifyandKernelVerifyin order to be able to useVerifymethods inMicrosoft.Extensions.VectorDatapackage without a reference to Semantic Kernel specific logic, likeValidPluginName,ValidFunctionNameetc.Concepts/Memoryfolder.Usage example
Logging with manual registration:
Logging with DI:
Contribution Checklist