Would you shed some light on this one too? How wou...
# community-help
g
Would you shed some light on this one too? How would I limit such cases? My 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”…
k
You can look at the vector_distance value in the response and have some threshold for determining if it's way out of similarity domain.
g
@Kishore Nallan how much would be ‘way out of similarity’?
k
The distance value returned is between 0 to 2. Higher the distance, less similar. The actual threshold will depend on your dataset.