Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Reduced the temperature parameter for the OpenAI API request in the Playground component.
Browse files
src/lib/components/Playground/Playground.svelte
CHANGED
|
@@ -71,7 +71,7 @@
|
|
| 71 |
systemMessage,
|
| 72 |
...messages.map(({ role, content }) => ({ role, content }))
|
| 73 |
],
|
| 74 |
-
temperature:
|
| 75 |
max_tokens: 500,
|
| 76 |
})) {
|
| 77 |
if (streamingMessage && chunk.choices[0]?.delta?.content) {
|
|
|
|
| 71 |
systemMessage,
|
| 72 |
...messages.map(({ role, content }) => ({ role, content }))
|
| 73 |
],
|
| 74 |
+
temperature: 0.1,
|
| 75 |
max_tokens: 500,
|
| 76 |
})) {
|
| 77 |
if (streamingMessage && chunk.choices[0]?.delta?.content) {
|