Skip to content

Commit

Permalink
fix: set tempature to 0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Apr 17, 2023
1 parent b8a3685 commit f2e066e
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -23,6 +23,7 @@ class OpenAIAction(val openAIKey: String, val version: String) : AiAction, Devti
override suspend fun prompt(prompt: String): String {
val chatCompletionRequest = ChatCompletionRequest(
model = ModelId(version),
temperature = 0.0,
messages = listOf(
ChatMessage(
role = ChatRole.User,
Expand Down

0 comments on commit f2e066e

Please sign in to comment.