Skip to content
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

Create VECTOR type. #8658

Open
nicktobey opened this issue Dec 10, 2024 · 0 comments
Open

Create VECTOR type. #8658

nicktobey opened this issue Dec 10, 2024 · 0 comments
Labels
enhancement New feature or request vectors

Comments

@nicktobey
Copy link
Contributor

A vector type is type purpose-built to store a fixed number of floating-point values.

The syntax for some existing engines:

  • MariaDB uses the syntax VECTOR(N)and does not allow the user to specify the precision.
    -PGVector uses VECTOR(N) for single-precision (32 bit) floats, but also supports HALFVEC(N) for half-precision (16 bit), and BIT(N) for binary vectors.

  • sqlite-vec uses float[N], and also supports int vectors and binary vectors.

  • We're committed to supporting the MariaDB syntax, but we may want to add other types for other precisions, like PGVector does.

@timsehn timsehn added the enhancement New feature or request label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request vectors
Projects
None yet
Development

No branches or pull requests

2 participants