Extraction schema (#398)

This commit is contained in:
Archer
2023-10-14 23:02:01 +08:00
committed by GitHub
parent 7db8d3ea0f
commit dd8f2744bf
193 changed files with 2036 additions and 15694 deletions

View File

@@ -4,11 +4,13 @@ import {
type VectorModelItemType,
FunctionModelItemType
} from '@/types/model';
import type { FeConfigsType } from '@fastgpt/common/type/index.d';
export type InitDateResponse = {
chatModels: ChatModelItemType[];
qaModel: QAModelItemType;
vectorModels: VectorModelItemType[];
feConfigs: FeConfigsType;
priceMd: string;
systemVersion: string;
};

View File

@@ -1,4 +1,4 @@
import { KbTypeEnum } from '@/constants/dataset';
import { DatasetTypeEnum } from '@fastgpt/core/dataset/constant';
import type { RequestPaging } from '@/types';
import { TrainingModeEnum } from '@/constants/plugin';
import type { SearchTestItemType } from '@/types/core/dataset';
@@ -18,7 +18,7 @@ export type CreateDatasetParams = {
tags: string[];
avatar: string;
vectorModel?: string;
type: `${KbTypeEnum}`;
type: `${DatasetTypeEnum}`;
};
export type SearchTestProps = {

View File

@@ -1,4 +1,3 @@
import { KbTypeEnum } from '@/constants/dataset';
import type { RequestPaging } from '@/types';
import { TrainingModeEnum } from '@/constants/plugin';
import type { SearchTestItemType } from '@/types/core/dataset';

View File

@@ -1,4 +1,4 @@
import type { OpenApiSchema } from '@/types/support/openapi';
import type { OpenApiSchema } from '@fastgpt/support/openapi/type.d';
export type GetApiKeyProps = {
appId?: string;