Oct 2, 2023
Oh this one is tricky, you will have to manually code that. basically, you have to implement cosine similarity with a cutoff. for example if you do not find at least 2 chunks of the documents with more than 67% similarity, then you conclude you do not have what it takes to answer. There is no bullet proof approach to do that.