V1 with working cmdline interface for easy of using GIT
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
||||
import { APIResource } from "../../../resource.mjs";
|
||||
import { isRequestOptions } from "../../../core.mjs";
|
||||
import { CursorPage } from "../../../pagination.mjs";
|
||||
export class Checkpoints extends APIResource {
|
||||
list(fineTuningJobId, query = {}, options) {
|
||||
if (isRequestOptions(query)) {
|
||||
return this.list(fineTuningJobId, {}, query);
|
||||
}
|
||||
return this._client.getAPIList(`/fine_tuning/jobs/${fineTuningJobId}/checkpoints`, FineTuningJobCheckpointsPage, { query, ...options });
|
||||
}
|
||||
}
|
||||
export class FineTuningJobCheckpointsPage extends CursorPage {
|
||||
}
|
||||
Checkpoints.FineTuningJobCheckpointsPage = FineTuningJobCheckpointsPage;
|
||||
//# sourceMappingURL=checkpoints.mjs.map
|
||||
Reference in New Issue
Block a user