User question:
user: I've got $1,000,000 set aside as an initial investment and plan to contribute $1,000 each year. I'm looking at a timeframe of 3 years and expecting an annual return of about 10%. However, I also want to consider the inflation rates for these years which I predict to be 1%, 4%, and 4% respectively. Can you calculate what the value of my investment will be at the end of this period, taking into account the inflation?

Available functions:
name: calculate_investment_value
description: Calculates the value of an investment over time.
parameters: type: dict
properties: initial_investment: type: integer
description: The initial investment amount.
annual_contribution: type: integer
description: The annual contribution amount.
years: type: integer
description: The number of years to calculate the investment value for.
annual_return: type: float
description: The annual return rate, ranging from 0 to 1.
inflation_rate: type: array
items: type: float
description: The inflation rate for each year in percentage, ranging from 0 to 1.
adjust_for_inflation: type: boolean
default: yes
description: Whether to adjust the investment value for inflation.
required: initial_investment
annual_contribution
years
annual_return
inflation_rate

Ground-truth function call(s):
calculate_investment_value(initial_investment=1000000,annual_contribution=1000,years=3,annual_return=0.1,inflation_rate=[0.01,0.04,0.04])