Adjust the vehicle capacity according to history routes

Hi,
Whether the Jsprit can judge the vehicle capacity based on history routes?
For example, if the history route contains 4 shipments, and the capacity of the vehicle is 10,
When call the Jsprit again, whether the vehicle capacity can adjust to 6 according to the history route? Or I must set the parameters to 6?
Thanks

jsprit has no concept of historical routes. You will have to do demand forecasting externally and then set the capacity manually

ok, thank you very much.