Skip to content

Commit

Permalink
Merge pull request #108 from davidxw/main
Browse files Browse the repository at this point in the history
Fixed temperature mapping
  • Loading branch information
thivy authored Aug 14, 2023
2 parents e601d3c + ecf4c1a commit 9116afe
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 9116afe

Please sign in to comment.