oasysai / oasysdb

Hybrid vector database with flexible SQL storage engine & multi-index support.
https://docs.oasysdb.com/
Apache License 2.0
357 stars 12 forks source link

FEAT: metadata interoperability with json value #69

Closed edwinkys closed 6 months ago

edwinkys commented 6 months ago

Use case

When users are dealing with complex data structure such as that of serde_json::Value, it requires a really complex workaround to make it work well with Metadata even though they share the same model.

OasysDB's Metadata and serde_json::Value should be able to convert into one another by using the From and Into implementations.