perf: model framwork

This commit is contained in:
archer
2023-04-29 15:55:47 +08:00
parent cd9acab938
commit 78762498eb
30 changed files with 649 additions and 757 deletions

View File

@@ -1,13 +1,11 @@
import { ModelStatusEnum } from '@/constants/model';
import type { ModelSchema } from './mongoSchema';
export interface ModelUpdateParams {
name: string;
avatar: string;
systemPrompt: string;
temperature: number;
search: ModelSchema['search'];
chat: ModelSchema['chat'];
share: ModelSchema['share'];
service: ModelSchema['service'];
security: ModelSchema['security'];
}