Skip to content

Commit 034046d

Browse files
committed
using 0.9 temperature
1 parent d8bcfb6 commit 034046d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

internal/adapters/ollama/client.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ func (c *Client) chat(ctx context.Context, prompt string) (string, error) {
9494
{"role": "user", "content": prompt},
9595
},
9696
"stream": false,
97+
"options": map[string]float64{
98+
"temperature": 0.9,
99+
},
97100
}
98101
b, _ := json.Marshal(payload)
99102

0 commit comments

Comments
 (0)