functions/source/bot_fulfillment/bot_fulfillment.py [191:197]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    if slots['year'] is not None and slots['orders_revenue'] is None and slots['revenue_type'] is None:
        is_valid = False
        content = "I couldn't understand what you mean. Type \"Help\" to know about the areas that I can converse on."
    elif slots['year'] is not None and int(slots['year'].split('-')[0]) != int(year):
        is_valid = False
        slots['current_year'] = year
        content = "Oops! I have only current year data with me. Please ask for a metric on current year."
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



functions/source/bot_fulfillment/bot_fulfillment.py [251:257]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    if slots['year'] is not None and slots['orders_revenue'] is None and slots['revenue_type'] is None:
        is_valid = False
        content = "I couldn't understand what you mean. Type \"Help\" to know about the areas that I can converse on."
    elif slots['year'] is not None and int(slots['year'].split('-')[0]) != int(year):
        is_valid = False
        slots['current_year'] = year
        content = "Oops! I have only current year data with me. Please ask for a metric on current year."
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



