-
Notifications
You must be signed in to change notification settings - Fork 82
Description
I've developed a feature that adds VectorField support to Tortoise ORM, including implementations for common distance calculations (L2, cosine, etc.). This would enable native vector operations with PostgreSQL's pgvector extension.
I attempted to open a pull request from my fork but encountered permission issues. If this is something you'd like to consider merging, here's the link to my implementation:
🔗 Georgedyatmsk1405#1
Key features:
Native VectorField type for model definitions
Built-in distance annotations (L2Distance, CosineDistance, etc.)
Seamless integration with existing Tortoise ORM queries
Would appreciate your review when you have time. Let me know if you'd prefer me to submit this through a different process.
Thanks for considering this contribution