-
-
Notifications
You must be signed in to change notification settings - Fork 582
fix vector collection data issue #1135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
Bug fix
Description
Swap
Data
andPayload
properties in vector collection modelsFix property mapping inconsistencies across vector storage implementations
Update JSON serialization property names to match corrected structure
Diagram Walkthrough
File Walkthrough
VectorCollectionData.cs
Swap Data and Payload property definitions
src/Infrastructure/BotSharp.Abstraction/VectorStorage/Models/VectorCollectionData.cs
Data
andPayload
properties definitionsPayload
now holds rawVectorPayloadValue
dictionaryData
becomes computed property returning object dictionaryVectorSearchResult.cs
Update property mapping in CopyFrom method
src/Infrastructure/BotSharp.Abstraction/VectorStorage/Models/VectorSearchResult.cs
Data
toPayload
VectorKnowledgeViewModel.cs
Fix JSON property names and types
src/Infrastructure/BotSharp.OpenAPI/ViewModels/Knowledges/View/VectorKnowledgeViewModel.cs
data
andpayload
MemoryVectorDb.cs
Update property assignment in search results
src/Plugins/BotSharp.Plugin.KnowledgeBase/MemVecDb/MemoryVectorDb.cs
Data
toPayload
QdrantDb.cs
Fix property mapping across Qdrant methods
src/Plugins/BotSharp.Plugin.Qdrant/QdrantDb.cs
Payload
instead ofData
Search methods
SemanticKernelMemoryStoreProvider.cs
Update property assignment in search method
src/Plugins/BotSharp.Plugin.SemanticKernel/SemanticKernelMemoryStoreProvider.cs
Data
toPayload