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
May 17, 2023 (4 months ago)
Manish
Manish
07:48 AMWhat vector distance algorithm does Typesense use?
Kishore Nallan
Kishore Nallan
08:00 AM👋 Default is cosine distance.
1
Manish
Manish
08:10 AMThat's great! I saw that OpenAI also suggests using Cosine distance.
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2779 threads (79% resolved)
Similar Threads
Typesense Product Search Using Euclidean Distance Between Vectors
mape asks about searching products in Typesense using Euclidean distance between vectors. Jason indicates this isn't yet supported and asks for an example from mape's use case.
6
31mo
Vector Search Filter and Cosine Similarity in Typesense
LT asked about vector search result filtering and cosine similarity. Kishore Nallan explained how cosine distance is related to similarity and shared plans to add a threshold restriction option.
3
6mo
Solved
Integrating Semantic Search with Typesense
Krish wants to integrate a semantic search functionality with typesense but struggles with the limitations. Kishore Nallan provides resources, clarifications and workarounds to the raised issues.
75
8mo
Solved