I didn't realize when I first replied that you're Vlad who runs Kagi.
Thanks for taking the time to try out the new Andi Q&A features and give us feedback on some of the trickier types of NLP queries.
As someone running an alternate search engine who has domain expertise, that explains your example queries. They are all good examples of the types of natural language queries well-known as edge cases for mis-triggering nlp intent detection. Because we don't log searches, it's really helpful for people to try out these sorts of edge cases and let us know where Andi can do better, so I'm grateful for the comment.
It raises a really interesting point that I missed before though. So I thought I'd post a quick follow-up.
Folks have learned to search Google over the last 20 years using Google's language - keyword searches. That's because otherwise it gave them bad results. So people speak "googlese".
With recent advances in NLP, it's possible to better understand natural language, and this will keep getting better. Natural language queries have some huge advantages when you're searching. Humans are smart at communicating subtle signals and clues to each other through language, and we can use this talent to get better search results.
"Tricky" nlp questions are mostly about using missing context or linguistic implication to fool a system. But as when you're talking with a stranger, as humans we can get around that by providing the information explicitly. When you combine that with language models and semantic search techniques, the quality of the results can go way up.
Part of building a new search application like Andi is teaching users how they can get better results by asking questions with more specific information and "clues".
Unlike Google, with Andi you can get way better results by asking questions with more specific information. Your "tricky" example nlp queries actually make for a great case study in this.
So it's worth looking at how someone can ask those questions in a way that a search engine using language and language models would get the best results.
For the first one "who is the current president" Andi already gets this right, so I'm guessing it was just timeout or glitch and it fell back to search results.
Let's step through examples of how to ask those questions well, and the answers Andi gives:
Q: who was the most recent president of the united states before biden?
A: I found this deep answer on wikipedia.org: Donald Trump
Q: is 2022 a leap year?
A: No. 2022, is not a leap year. Source: Wolfram|Alpha
People learn how to use tools to get done what they need to, and google pidgin is an example of that.
As people discover that they can save time and get better results with a new tool where you can ask more naturally, we think they will adapt quickly.
Thanks again for the chance to talk through this. Your question was a great lead in to the topic.