Inner product index but cosine distance matching? #15
Unanswered
helloivanco
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Oh right, yes this can be changed to
Thanks for pointing that 👍 |
Beta Was this translation helpful? Give feedback.
3 replies
-
@kaarthik108 - Greg from Supabase has some pointers in this thread https://github.com/orgs/supabase/discussions/13977#discussioncomment-7188584 Hope it all helps. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a question on the supabase sql. It appears the index is created for Inner product (vector_ip_ops) but the v_match_documents is matching based on
<=>
the cosine distance? Should the match function change to match inner product or the index be created forvector_cosine_ops
?ref: https://supabase.com/docs/guides/ai/vector-indexes/hnsw-indexes
Thanks,
Ivan
Beta Was this translation helpful? Give feedback.
All reactions