user
Task: Summarize what is the consumer price index (CPI).


assistant
The consumer price index (CPI) is a measure of the average change in prices over time that consumers pay for a basket of goods and services. It is calculated by measuring the changes in prices of a basket of goods over a period of time. The CPI is used to measure inflation and guide monetary policy decisions.