Mario Mandzukic hit the winner in Juve's 1-0 victory.
Allegri conceded, “Inter caused us problems in the first half, opening up with Joao Mario and Gagliardini, so we struggled to close them down. It's also true the biggest chances of the first half came from us giving the ball away.
“I moved Mandzukic to the left, Paulo Dybala played much better and we had a very different performance in terms of intensity and pressure. We allowed Inter practically nothing in the second half and we had several more chances.
“Matteo Politano was putting pressure on, so I switched the full-backs to make the most of our characteristics and cover where needed, pushing on the other.
“Cancelo struggled a little with Politano in the first half, mainly the transitions. We're working on Cancelo's defensive approach and it must be recognised he has improved a great deal.
“I asked the lads this evening to be efficient and effective. We were only half that in the first period, but then we started to hold the ball with greater patience, were more organised and solid. After that, the quality of the players inevitably emerges."