US consumer sentiment edged down to a five-month low in October as high prices and rising interest rates depressed morale.