MariaDBVectorStoreEuclidian vs cosine distance type? #3382
Unanswered
kohanyirobert
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The MariaDB docs says that when creating a vector index the distance type can be specified and
In the MariaDBVectorStore implementation in Spring AI this is not explicitly set (see here).
Contrary to this the default distance type to be used during similarity searches is cosine. Doesn't this makes things behave badly?
I just started experimenting with Spring AI and RAG so I'm no expert but this bugs me.
How does this work?
Beta Was this translation helpful? Give feedback.
All reactions