Mastering Parameters: A Guide to Text Generation with OpenAI GPT