def question_result_type(response):
    """
    Generate the answer text for question result type.
    :param response: Kendra query response
    :return: Answer text
    """
    try:
        faq_answer_text = "On searching the Enterprise repository, I have found" \
                          " the following answer in the FAQs--"
        faq_answer_text += '\"' + response['resultItems'][0]['documentExcerpt']['text'] + '\"'
    except KeyError:
        faq_answer_text = "Sorry, I could not find an answer in our FAQs."

    return faq_answer_text