v4.5.1 (#417)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { connectionMongo, type Model } from '@fastgpt/common/mongo';
|
||||
import { connectionMongo, type Model } from '@fastgpt/service/common/mongo';
|
||||
const { Schema, model, models } = connectionMongo;
|
||||
import { ChatItemSchema as ChatItemType } from '@/types/mongoSchema';
|
||||
import { ChatRoleMap, TaskResponseKeyEnum } from '@/constants/chat';
|
||||
@@ -43,9 +43,11 @@ const ChatItemSchema = new Schema({
|
||||
},
|
||||
adminFeedback: {
|
||||
type: {
|
||||
kbId: String,
|
||||
datasetId: String,
|
||||
collectionId: String,
|
||||
dataId: String,
|
||||
content: String
|
||||
q: String,
|
||||
a: String
|
||||
}
|
||||
},
|
||||
[TaskResponseKeyEnum.responseData]: {
|
||||
|
||||
Reference in New Issue
Block a user