Answer technical questions on generative AI.
Implement answer_questions(questions, knowledge_base) to return one answer for each question. Prefer an exact normalized question match. Otherwise, select the knowledge-base entry sharing the most non-stopword tokens with the query, breaking ties by earliest entry. Return an empty string when no tokens overlap.
Input and output: questions is a list of strings. knowledge_base is a list of objects with question and answer string fields. Return a list of answer strings in query order.
def answer_questions(questions, knowledge_base):