Skip to main content

Stop Training

Stop a running training job using the Knowledgator TypeScript SDK.


Example Usage​

import { createClient } from '@knowledgator/typescript-sdk';

const kg = createClient('YOUR_API_KEY');

const response = await kg.finetuning.stopTraining('78d379da228a4985ba19100f53245b79');
console.log(response);

Expected Output​

Training stopped successfully