Exploring Effective Strategies for Building a Customised GPT Agent for Coding Classroom Dialogues