Connected topic

OpenAI Integration — Fine-tuning job lifecycle

Create the JSONL training file, upload it, start a job, check status and understand saved identifiers and failure handling.

01Start an OpenAI fine-tuning jobCreate and upload training JSONL and submit a job with the selected base model.Admin Area → Setup → Settings → AI → OpenAI → Advanced Features → OpenAI Fine Tuning02Understand previous pcrm-model cleanup before a new jobKnow why module-owned fine-tuned models may be deleted when training starts.Code-backed reference → OpenAiProvider::createFineTuningJob03Understand OpenAI training JSONL generationReview the exact line-oriented format sent to the provider.Code-backed reference → OpenAiProvider::formatTrainingData04Understand the temporary training-file path and cleanupReview local temporary-file handling during job creation.Server temporary directory → pcrm_training_{timestamp}.jsonl05Understand the OpenAI training-file uploadKnow the purpose and file identifier used for the provider upload.Code-backed reference → OpenAI files upload06Understand the fine-tuning job suffixIdentify module-created jobs and models.Code-backed reference → OpenAI fineTuning createJob07Review saved fine-tuning job and file identifiersFind the options used for later status and cleanup operations.Admin Area → Setup → Settings → AI → OpenAI → Advanced Features → OpenAI Fine Tuning08Refresh the last fine-tuning job statusRetrieve current provider status from the workspace.Admin Area → Setup → Settings → AI → OpenAI → Advanced Features → OpenAI Fine Tuning → Refresh Status09Understand fine-tuning job statuses and timestampsInterpret status, created time, finished time and error information returned by the provider.Admin Area → Setup → Settings → AI → OpenAI → Advanced Features → OpenAI Fine Tuning10Understand automatic model selection after successful trainingKnow when the returned model becomes selected and enabled.Admin Area → Setup → Settings → AI → OpenAI → Advanced Features → OpenAI Fine Tuning11Review fine-tuning errors in CRM activity logsFind provider or file/job errors captured by the module.Admin Area → Utilities/Activity Log and server logs12Start a replacement fine-tuning job safelyReview the destructive pcrm-model cleanup and source quality before retraining.Admin Area → Setup → Settings → AI → OpenAI → Advanced Features → OpenAI Fine Tuning