Ecto type for embedding vectors that works with both PostgreSQL and libSQL.
For PostgreSQL: Uses Pgvector.Ecto.Vector when available For libSQL: Stores as JSON text and converts to list
This type automatically detects the configured adapter and handles serialization/deserialization accordingly.
Summary
Functions
Callback implementation for Ecto.Type.embed_as/1.
Callback implementation for Ecto.Type.equal?/2.
Functions
Callback implementation for Ecto.Type.embed_as/1.
Callback implementation for Ecto.Type.equal?/2.