@@ -59,7 +59,7 @@ Have a specific question?
5959``` bash
6060uvx timecopilot forecast https://otexts.com/fpppy/data/AirPassengers.csv \
6161 --model openai:gpt-4o \
62- --prompt " How many air passengers are expected in total in the next 12 months?"
62+ --query " How many air passengers are expected in total in the next 12 months?"
6363```
6464
6565## Installation
@@ -120,7 +120,7 @@ result = forecasting_agent.forecast(df=df)
120120# - reason_for_selection: Explanation for model choice
121121# - forecast: List of future predictions with dates
122122# - forecast_analysis: Interpretation of the forecast results
123- # - user_prompt_response : Response to the user prompt, if any
123+ # - user_query_response : Response to the user prompt, if any
124124print (result.output)
125125```
126126<details > <summary >Click to expand full forecast output</summary >
@@ -164,7 +164,7 @@ with historical patterns. The strong seasonality is evident in the periodic peak
164164slight smoothing over time due to parameter adjustment for stability. The forecasts are
165165reliable given the past performance metrics and the model's rigorous tuning. However,
166166potential uncertainties could arise from structural breaks or changes in pattern, not
167- reflected in historical data." user_prompt_response ='The analysis determined the best
167+ reflected in historical data." user_query_response ='The analysis determined the best
168168performing model and generated forecasts considering seasonality and trend, aiming for
169169accuracy and reliability surpassing basic seasonal models.'
170170"""
@@ -180,14 +180,14 @@ You can ask questions about the forecast in natural language. The agent will ana
180180# Ask specific questions about the forecast
181181result = forecasting_agent.forecast(
182182 df = df,
183- prompt = " how many air passengers are expected in the next 12 months?" ,
183+ query = " how many air passengers are expected in the next 12 months?" ,
184184)
185185
186186# The output will include:
187187# - All the standard forecast information
188- # - user_prompt_response : Detailed answer to your specific question
188+ # - user_query_response : Detailed answer to your specific question
189189# analyzing the forecast in the context of your query
190- print (result.output.user_prompt_response )
190+ print (result.output.user_query_response )
191191
192192"""
193193The total expected air passengers for the next 12 months is approximately 5,919.
0 commit comments