Thank you for sharing this information. I had been overlooking the top_p parameter.
Additionally, you might want to consider the frequency_penalty, which controls the repetition of words, and presence_penalty, which influences the likelihood of introducing new topics.
With the assistance of GPT-4, I’ve developed a table outlining various values for different writing styles, each with conservative, balanced, and creative options.
The table is used by a Google Document add-on that integrates with the OpenAI API. It estimates the writing style based on the document’s title, but users can adjust it as needed. For instance, if the title includes the word “proposal,” the add-on will apply a proposal writing style with a higher temperature compared to a “technical document.”
I’m still experimenting, but this approach has been effective in generating diverse results, allowing users to interact with these parameters without needing in-depth knowledge. Users can simply choose a different document style or request more conservative, balanced, or creative outputs.