explain temperature setting in env file (#4140)

Co-authored-by: Richard Beales <rich@richbeales.net>
This commit is contained in:
Boostrix
2023-05-12 20:22:26 +02:00
committed by GitHub
parent 2513178980
commit b06ea616d9

View File

@@ -41,7 +41,17 @@
### OPENAI
## OPENAI_API_KEY - OpenAI API Key (Example: my-openai-api-key)
## NOTE: https://platform.openai.com/docs/api-reference/completions
# The temperature setting in language models like GPT controls the balance between predictable and random responses.
# Lower temperature makes the responses more focused and deterministic, while higher temperature makes them more
# creative and varied. The temperature range typically goes from 0 to 2 in OpenAI's implementation.
##
## TEMPERATURE - Sets temperature in OpenAI (Default: 0)
##
###
## USE_AZURE - Use Azure OpenAI or not (Default: False)
OPENAI_API_KEY=your-openai-api-key
# TEMPERATURE=0