-
-
Notifications
You must be signed in to change notification settings - Fork 582
add vector payload #1133
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
add vector payload #1133
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||
PR Type
Enhancement
Description
Add
Payloadproperty to vector storage modelsExpose simplified payload data in API responses
Remove unused Newtonsoft.Json dependency
Diagram Walkthrough
File Walkthrough
VectorCollectionData.cs
Add Payload property for simplified data accesssrc/Infrastructure/BotSharp.Abstraction/VectorStorage/Models/VectorCollectionData.cs
Payloadproperty that convertsDatadictionary to simplifiedkey-value pairs
DataValuefrom eachVectorPayloadValuefor easieraccess
VectorKnowledgeViewModel.cs
Add Payload property to view modelsrc/Infrastructure/BotSharp.OpenAPI/ViewModels/Knowledges/View/VectorKnowledgeViewModel.cs
Payloadproperty with JSON serialization attributeFrommethods to populatePayloadfrom source objectsVectorPayloadValue.cs
Remove unused import statementsrc/Infrastructure/BotSharp.Abstraction/VectorStorage/Models/VectorPayloadValue.cs
Newtonsoft.Json.Linqimport statement