mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
20 lines
343 B
TypeScript
20 lines
343 B
TypeScript
import type { kbSchema } from './mongoSchema';
|
|
|
|
/* kb type */
|
|
export interface KbItemType extends kbSchema {
|
|
totalData: number;
|
|
tags: string;
|
|
}
|
|
|
|
export interface KbDataItemType {
|
|
id: string;
|
|
q: string; // 提问词
|
|
a: string; // 原文
|
|
kbId: string;
|
|
userId: string;
|
|
}
|
|
|
|
export type TextPluginRequestParams = {
|
|
input: string;
|
|
};
|