Temperature parameters can be customized

This commit is contained in:
Dyxang 2024-11-04 20:46:37 +08:00
parent 91dc16878e
commit 8b6566ac59
No known key found for this signature in database
GPG key ID: 5573F57321747E5C
2 changed files with 20 additions and 2 deletions

View file

@ -4951,7 +4951,18 @@
>Model:
<select id="aiGeneratorModel"></select>
</label>
<label for="aiGeneratorTemperature"
>Temperature:
<input id="aiGeneratorTemperature" placeholder="1.2" class="icon-key" />
<a
href="https://platform.openai.com/docs/api-reference/chat/create#chat-create-temperature"
target="_blank"
rel="noreferrer"
class="icon-help-circled"
style="text-decoration: none"
data-tip="Between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic."
></a>
</label>
<label for="aiGeneratorKey"
>Key:
<input id="aiGeneratorKey" placeholder="Enter OpenAI API key" class="icon-key" />