You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
457 B
21 lines
457 B
|
8 months ago
|
import { request } from "@/components/service/index";
|
||
|
|
|
||
|
|
export const MlflowService = {
|
||
|
|
getRuns: (experimentId: string) => {
|
||
|
|
return request.get("/api/mlflow/runs", {
|
||
|
|
experimentId,
|
||
|
|
});
|
||
|
|
},
|
||
|
|
|
||
|
|
getExperimentByName: (experimentName: string) => {
|
||
|
|
return request.get("/api/mlflow/experiment", {
|
||
|
|
experimentName,
|
||
|
|
});
|
||
|
|
},
|
||
|
|
getExperimentRun: (runId: string) => {
|
||
|
|
return request.get("/api/mlflow/run", {
|
||
|
|
runId,
|
||
|
|
});
|
||
|
|
},
|
||
|
|
};
|