mirror of
https://github.com/cheikh2shift/godex.git
synced 2026-10-21 02:29:56 -05:00
change default temp. to be more deterministic
This commit is contained in:
1 parent
c0c4c2556b
commit
7295dc3374
1 file changed
+1
-1
@@ -192,7 +192,7 @@ func RunWizard(destination string) error {
|
||||
|
||||
provider.Description, _ = prompt(reader, "Description", getDefault("description", "This model is red"))
|
||||
|
||||
tempStr, _ := prompt(reader, "Temperature (0.0-1.0). The higher the value, the more random the output.", getDefault("temperature", "0.5"))
|
||||
tempStr, _ := prompt(reader, "Temperature (0.0-1.0). The higher the value, the more random the output.", getDefault("temperature", "0.2"))
|
||||
if tempStr != "" {
|
||||
if val, err := strconv.ParseFloat(tempStr, 64); err == nil {
|
||||
provider.Temperature = &val
|
||||
|
||||
Reference in new issue
Block a user