GitHub - rectanglehq/Shapeshift: Transform JSON objects using vector embeddings
Shapeshift
Shapeshift is a TypeScript library that maps arbitrarily structured JSON objects using vector embeddings. It uses semantic similarity to match keys between objects, allowing for flexible and intelligent object transformation, including support for nested structures.
Features
Map objects with different structures based on semantic similarity of keys
Support for nested objects
Multiple embedding providers: Cohere, OpenAI, and Voyage
Customizable embedding model and similarity threshold
...
Read more at github.com