Skip to content

Commit 2e83734

Browse files
committed
Update default temperature to 0.7
1 parent 6a94aed commit 2e83734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Sources/OpenAIService/ChatGPTService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public actor ChatGPTService: ChatGPTServiceType {
9292

9393
public init(
9494
systemPrompt: String = "",
95-
temperature: Double = 1
95+
temperature: Double = 0.7
9696
) {
9797
self.systemPrompt = systemPrompt
9898
self.temperature = temperature

0 commit comments

Comments
 (0)