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

wrong SQL CREATE INDEX in readme #1348

Open
remote4me opened this issue Mar 3, 2024 · 0 comments
Open

wrong SQL CREATE INDEX in readme #1348

remote4me opened this issue Mar 3, 2024 · 0 comments

Comments

@remote4me
Copy link

remote4me commented Mar 3, 2024

Environment: Ubuntu 22.04, Self-hosted Postgresml installed in Postgresql 13 database

I am following instructions here (under "Vector Database", "Step 2: Indexing your embeddings using different algorithms"):
https://github.com/postgresml/postgresml?tab=readme-ov-file#vector-database

This SQL returns error:

CREATE INDEX ON tweet_embeddings USING ivfflat (embedding vector_cosine_ops);

ERROR: operator class "vector_cosine_ops" does not accept data type real[]
1 statement failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant