perf: stream response

This commit is contained in:
archer
2023-05-19 00:00:56 +08:00
parent 7408db9cf6
commit a62a9c4067
13 changed files with 43 additions and 92 deletions

6
src/types/pg.d.ts vendored
View File

@@ -5,7 +5,7 @@ export interface PgKBDataItemType {
q: string;
a: string;
status: `${ModelDataStatusEnum}`;
model_id: string;
user_id: string;
kb_id: string;
// model_id: string;
// user_id: string;
// kb_id: string;
}