Skip to content

Commit

Permalink
Merge pull request #72 from studio-recoding/feat-persona-api
Browse files Browse the repository at this point in the history
[🧹chore] 페르소나 easy 버전 추가
  • Loading branch information
JeonHaeseung authored May 17, 2024
2 parents 300b4b4 + ee4426c commit 283e8ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/Ness/Backend/domain/chat/ChatService.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ public PostFastApiAiChatDto postNewAiChat(Long id, String text, ChatType chatTyp
if (personaType == PersonaType.HARDNESS){
persona = "hard";
}
if (personaType == PersonaType.CLAMNESS){
persona = "easy";
}

//TODO: member_id 전달하는 로직 만들어야 하지 않을까?(RAG를 위해)
PostFastApiUserChatDto userDto = PostFastApiUserChatDto.builder()
Expand Down

0 comments on commit 283e8ac

Please sign in to comment.