Skip to content

Commit

Permalink
Fixed temperature mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
davidxw committed Aug 14, 2023
1 parent e601d3c commit ecf4c1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/features/chat/chat-services/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ export const transformConversationStyleToTemperature = (
) => {
switch (conversationStyle) {
case "precise":
return 1;
return 0.1;
case "balanced":
return 0.5;
case "creative":
return 0.1;
default:
return 1;
default:
return 0.5;
}
};

0 comments on commit ecf4c1a

Please sign in to comment.