I agree with you. If the exact page was deleted, it may not be the best experience for the user to just redirect them to the closest match. However, you could solve this in the UI by telling them that they were redirected because the original page was not found. Showing just 404 page is not a great experience either. You could also adjust this behavior based on the score of the match – anything that's 90% match should be good enough.
There's no such thing as a '90% match' when you are doing nearest-neighbor lookup. Percentages of what? There's just distance in a high-dimensional space, which is itself dependent on dimensionality and pretty arbitrary - different embeddings will have totally different 'units'.
You could solve this in the UI by telling them that they were redirected because the original page was not found.
That doesn't deal with issues like archiving or updating links to follow redirects which turn out to be spurious because you thought '90%' was a meaningful number.
Comments
I agree with you. If the exact page was deleted, it may not be the best experience for the user to just redirect them to the closest match. However, you could solve this in the UI by telling them that they were redirected because the original page was not found. Showing just 404 page is not a great experience either. You could also adjust this behavior based on the score of the match – anything that's 90% match should be good enough.
For what it is worth, I opted to showing 404 page and suggest the URL they were most likely looking for, e.g. https://aimd.app/blog/2023-12-27-programmatic-seo-what-is-it...
There's no such thing as a '90% match' when you are doing nearest-neighbor lookup. Percentages of what? There's just distance in a high-dimensional space, which is itself dependent on dimensionality and pretty arbitrary - different embeddings will have totally different 'units'.
That doesn't deal with issues like archiving or updating links to follow redirects which turn out to be spurious because you thought '90%' was a meaningful number.
Off-topic, not familiar with the website, but the design is very cool!