Creating effective code templates

I am writing some code to generate C# code based on some JSON metadata of APIs and some templates for it to be compatible with our SDK.

I try to tell to give suggestions (as C# comments) for the model to change the name of the class and fill in the methods but it sometimes decides to change the name of the Class and sometimes it doesn’t want to do that.

Do you have any suggestions on how I can help the model in order to automate this process.

I am using the latest version of the “gpt-3.5-turbo” since this is much cheaper than the other models.