feat: search test

This commit is contained in:
archer
2023-06-12 18:18:08 +08:00
parent 6ac7119edf
commit 71dd7f3e6c
16 changed files with 747 additions and 515 deletions

View File

@@ -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;
};