Jump to content

GPT API: Difference between revisions

97 bytes added ,  15 July 2023
 
Line 101: Line 101:
</pre>
</pre>
'''max_tokens''' is a number value that indicates the maximum number of [[tokens]] the model will generate before stopping. For example, if the max_tokens is 100, the model will generate 100 tokens (approximately 75 words) before stopping.
'''max_tokens''' is a number value that indicates the maximum number of [[tokens]] the model will generate before stopping. For example, if the max_tokens is 100, the model will generate 100 tokens (approximately 75 words) before stopping.
===presence_penalty===
'''presence_penalty'''
===frequency_penalty===
'''frequency_penalty'''


==Response Fields==
==Response Fields==
223

edits