mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00
feat: qa生成
This commit is contained in:
25
src/types/mongoSchema.d.ts
vendored
25
src/types/mongoSchema.d.ts
vendored
@@ -94,3 +94,28 @@ export interface PaySchema {
|
||||
orderId: string;
|
||||
status: 'SUCCESS' | 'REFUND' | 'NOTPAY' | 'CLOSED';
|
||||
}
|
||||
|
||||
export interface DataSchema {
|
||||
_id: string;
|
||||
userId: string;
|
||||
name: string;
|
||||
createTime: string;
|
||||
}
|
||||
|
||||
export interface DataItemSchema {
|
||||
_id: string;
|
||||
userId: string;
|
||||
dataId: string;
|
||||
times: number;
|
||||
temperature: number;
|
||||
text: string;
|
||||
result: {
|
||||
q: string;
|
||||
a: string;
|
||||
}[];
|
||||
status: 0 | 1 | 2;
|
||||
}
|
||||
|
||||
export interface DataItemPopulate extends DataItemSchema {
|
||||
userId: UserModelSchema;
|
||||
}
|
||||
|
Reference in New Issue
Block a user