Optimize vector semantic search for an assistant | Microsoft Interview Question