How to Configure (and Use) Chat Templates