mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 10:28:42 +00:00
feat: search test
This commit is contained in:
7
client/src/types/plugin.d.ts
vendored
7
client/src/types/plugin.d.ts
vendored
@@ -13,6 +13,13 @@ export interface KbDataItemType {
|
||||
source: string;
|
||||
}
|
||||
|
||||
export type KbTestItemType = {
|
||||
kbId: string;
|
||||
text: string;
|
||||
time: Date;
|
||||
results: (KbDataItemType & { score: number })[];
|
||||
};
|
||||
|
||||
export type TextPluginRequestParams = {
|
||||
input: string;
|
||||
};
|
||||
|
Reference in New Issue
Block a user