UNPKG

@inductiv/node-red-openai-api

Version:

Enhance your Node-RED projects with advanced AI capabilities.

153 lines (135 loc) 5.56 kB
<section> <details> <summary style="font-weight: bold;">🔧 Fine-tuning</summary> <a href="https://developers.openai.com/api/reference/typescript/resources/fine_tuning/" target="_blank">Official Documentation <i class="fa fa-external-link fa-sm" aria-hidden="true"></i></a> <h4 style="font-weight: bolder;"> ⋙ Create Fine-tuning Job</h4> <p> Creates a job that fine-tunes a specified model from a given dataset. Response includes details of the enqueued job including job status and the name of the fine-tuned models once complete. </p> <dl class="message-properties"> <h4>msg.payload Properties</h4> <dt> model <span class="property-type">string</span> </dt> <dd>The name of the model to fine-tune.</dd> <dt> training_file <span class="property-type">string</span> </dt> <dd>The ID of an uploaded file that contains training data.</dd> <dt class="optional"> suffix <span class="property-type">string</span> </dt> <dd> A string of up to 18 characters that will be added to your fine-tuned model name. </dd> <dt class="optional"> validation_file <span class="property-type">string</span> </dt> <dd>The ID of an uploaded file that contains validation data.</dd> <dt class="optional"> integrations <span class="property-type">array</span> </dt> <dd>A list of integrations to enable for your fine-tuning job.</dd> <dt class="optional"> seed <span class="property-type">array</span> </dt> <dd>The seed controls the reproducibility of the job.</dd> <dt class="optional"> method <span class="property-type">object</span> </dt> <dd>The method used for fine-tuning.</dd> </dl> <h4 style="font-weight: bolder;"> ⋙ List Fine-tuning Jobs</h4> <p>List your organization's fine-tuning jobs</p> <dl class="message-properties"> <h4>msg.payload Properties</h4> <dt class="optional"> after <span class="property-type">string</span> </dt> <dd>Identifier for the last job from the previous pagination request.</dd> <dt class="optional"> limit <span class="property-type">integer</span> </dt> <dd>Number of fine-tuning jobs to retrieve.</dd> </dl> <h4 style="font-weight: bolder;"> ⋙ Retrieve Fine-tuning Job</h4> <p>Get info about a fine-tuning job.</p> <dl class="message-properties"> <h4>msg.payload Properties</h4> <dt> fine_tuning_job_id <span class="property-type">string</span> </dt> <dd>The ID of the fine-tuning job.</dd> </dl> <h4 style="font-weight: bolder;"> ⋙ List Fine-tuning Events</h4> <p>Get status updates for a fine-tuning job.</p> <dl class="message-properties"> <h4>msg.payload Properties</h4> <dt> fine_tuning_job_id <span class="property-type">string</span> </dt> <dd>The ID of the fine-tuning job to get events for.</dd> <dt class="optional"> after <span class="property-type">string</span> </dt> <dd> Identifier for the last event from the previous pagination request. </dd> <dt class="optional"> limit <span class="property-type">integer</span> </dt> <dd>Number of events to retrieve.</dd> </dl> <!-- >>> Begin List Fine-tuning Checkpoints --> <h4 style="font-weight: bolder;"> ⋙ List Fine-tuning Checkpoints</h4> <p>List checkpoints for a fine-tuning job.</p> <dl class="message-properties"> <h4>msg.payload Properties</h4> <dt> fine_tuning_job_id <span class="property-type">string</span> </dt> <dd>The ID of the fine-tuning job to get checkpoints for.</dd> <dt class="optional"> after <span class="property-type">string</span> </dt> <dd> Identifier for the last checkpoint ID from the previous pagination request. </dd> <dt class="optional"> limit <span class="property-type">integer</span> </dt> <dd>Number of events to retrieve.</dd> </dl> <!-- <<< End List Fine-tuning Checkpoints --> <h4 style="font-weight: bolder;"> ⋙ Cancel Fine-tuning Job</h4> <p>Immediately cancel a fine-tune job.</p> <dl class="message-properties"> <h4>msg.payload Properties</h4> <dt> fine_tuning_job_id <span class="property-type">string</span> </dt> <dd>The ID of the fine-tuning job to cancel.</dd> </dl> </details> </section>