Skip to content

Commit

Permalink
fix: Modify conflict (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahyun0326 committed Apr 18, 2024
2 parents e11836c + 4917f24 commit 0edbcb3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public String generateQuiz(GenerateQuizRequestDto genQuizReqDto) throws JsonProc

Map<String, Object> requestBody = new HashMap<>();
requestBody.put("messages", messages);
requestBody.put("model", "gpt-4-1106-preview");
requestBody.put("model","gpt-3.5-turbo"); // "gpt-4-1106-preview"
requestBody.put("temperature", 0.0f);
requestBody.put("max_tokens", 4000);

Expand Down Expand Up @@ -115,6 +115,7 @@ public void saveQuiz(PostQuizRequestDto saveQuizDto) {
.explanation(saveQuizDto.getQuizDto().getExplanation())
.build();


quizRepo.save(quiz);
}

Expand Down

0 comments on commit 0edbcb3

Please sign in to comment.