Create chat model to save recent messages