mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
fix colection create api (#766)
Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
},
|
||||
|
Reference in New Issue
Block a user