Save feedback id to message and update feedback

This commit is contained in:
Ilango
2024-02-15 15:13:47 +05:30
parent 430dcedc4d
commit 26d5d6d6a2
7 changed files with 70 additions and 21 deletions
+1 -1
View File
@@ -41,6 +41,7 @@ export interface IChatMessage {
memoryType?: string
sessionId?: string
createdDate: Date
feedbackId?: string
}
export interface IChatMessageFeedback {
@@ -48,7 +49,6 @@ export interface IChatMessageFeedback {
content?: string
chatflowid: string
chatId: string
messageId: string
rating: ChatMessageRatingType
createdDate: Date
}