© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
E. SarrionChatGPT for Beginners https://doi.org/10.1007/978-1-4842-9804-6_6

6. Parameters Used in ChatGPT

Eric Sarrion1  
(1)
Paris, France
 

When using ChatGPT, we can adjust several parameters to control its behavior and the displayed results. These parameters allow us to refine the generated responses, control text diversity, and adapt the interaction experience with the model.

In this chapter, we will explore the main parameters used in ChatGPT, such as the temperature parameter, the frequency_penalty parameter, and the presence_penalty parameter. We will provide examples to better understand how they work.

Understanding these parameters allows users to ...

Get ChatGPT for Beginners: Features, Foundations, and Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.