The UK economy expanded by 0.4% in July, surpassing economist expectations of no growth for the month.
The services sector, particularly computer programming, was the primary driver of the growth.
AI-related businesses contributed to growth in July, as well as in May and June, according to Office for National Statistics director Liz McKeown.
Warm weather and the football World Cup influenced economic activity in July, though their impact varied across industries.