Skip to content

Commit

Permalink
Update Chat
Browse files Browse the repository at this point in the history
  • Loading branch information
Hot-dong committed Jun 29, 2023
1 parent c2a8f56 commit 7ef6d89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/khpt/projectkim/entity/Chat.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ public class Chat {
private User user;

// system or assistant or user
@Enumerated(EnumType.STRING)
// @Enumerated(EnumType.STRING)
@Column(nullable = false)
private ChatAuthor author;
private String role;

// chat messages
@Column(nullable = false)
Expand Down

0 comments on commit 7ef6d89

Please sign in to comment.