fix colection create api (#766)

Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
This commit is contained in:
Archer
2024-01-23 09:01:24 +08:00
committed by GitHub
parent aab6ee51eb
commit 379673cae1
143 changed files with 40737 additions and 274 deletions

View File

@@ -47,18 +47,19 @@ const ChatItemSchema = new Schema({
default: () => new Date()
},
obj: {
// chat role
type: String,
required: true,
enum: Object.keys(ChatRoleMap)
},
value: {
// chat content
type: String,
default: ''
},
userGoodFeedback: {
type: String
},
userFeedback: String,
userBadFeedback: {
type: String
},