#community-help

Typesense Vector Distance Algorithm

TLDR Manish asked about the vector distance algorithm used by Typesense. Kishore Nallan confirmed that it uses cosine distance by default.

Powered by Struct AI

1

3
4mo
Solved
Join the chat
May 17, 2023 (4 months ago)
Manish
Photo of md5-f0a83cd20895941fd74c026f9f15b61f
Manish
07:48 AM
What vector distance algorithm does Typesense use?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
08:00 AM
👋 Default is cosine distance.

1

Manish
Photo of md5-f0a83cd20895941fd74c026f9f15b61f
Manish
08:10 AM
That's great! I saw that OpenAI also suggests using Cosine distance.