Limiting Irrelevant Responses in Q&A System
TLDR Gio asked how to limit irrelevant answers, and Kishore Nallan suggested using a threshold on vector_distance value to determine similarity.
Feb 28, 2023 (9 months ago)
Gio
12:21 PMMy collection consists of 3 paragraphs off of Wikipedia about the war in Ukraine.
Obviously it won’t have an answer about how old I am. I’d love to return something like “it is an irrelevant question” or “I couldn’t find an answer”…
Kishore Nallan
12:24 PMMar 03, 2023 (9 months ago)
Gio
09:22 PMMar 04, 2023 (9 months ago)
Kishore Nallan
02:44 AMTypesense
Indexed 3015 threads (79% resolved)
Similar Threads
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.
Hybrid Search Distance Threshold Issue
Anish has an issue with search results not respecting the vector distance threshold when using hybrid search. Jason explains additional fields cause `vector_distance` to only apply to vector search results and suggests opening a feature request on GitHub.
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.