mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-20 02:34:52 +00:00
feat: 拆分测试环境
This commit is contained in:
@@ -38,6 +38,11 @@ type GetModelDataListProps = RequestPaging & {
|
||||
export const getModelDataList = (props: GetModelDataListProps) =>
|
||||
GET(`/model/data/getModelData?${Obj2Query(props)}`);
|
||||
|
||||
export const getExportDataList = (modelId: string) =>
|
||||
GET<{ prompt: string; completion: string; vector: number[] }>(
|
||||
`/model/data/exportModelData?modelId=${modelId}`
|
||||
);
|
||||
|
||||
export const getModelSplitDataList = (modelId: string) =>
|
||||
GET<ModelSplitDataSchema[]>(`/model/data/getSplitData?modelId=${modelId}`);
|
||||
|
||||
|
Reference in New Issue
Block a user