View as Markdown
OpenAI (ChatGPT) icon

OpenAI (ChatGPT) ACTION

Create Fine Tuning Job

Creates a job that fine-tunes a specified model from a given dataset. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's OpenAI (ChatGPT) account once, then configure and run Create Fine Tuning Job from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "openai-create-fine-tuning-job",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    openai: { authProvisionId: "apn_xxxxxxx" },
    model: "Fine Tuning Model",
    trainingFile: "Training File",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Fine Tuning Job inputs
Property Type Description
model Fine Tuning Model string
The name of the model to fine-tune. See the supported models.
Required
trainingFile Training File string
The ID of an uploaded file that contains training data. You can use the Upload File action and reference the returned ID here.
Required Dynamic
hyperParameters Hyperparameters object
The hyperparameters used for the fine-tuning job. See details in the documentation.
Optional
suffix Suffix string
A string of up to 18 characters that will be added to your fine-tuned model name.
Optional
validationFile Validation File string
The ID of an uploaded file that contains validation data. See details in the documentation.
Optional Dynamic

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
openai-create-fine-tuning-job
Version
0.0.19
App
OpenAI (ChatGPT)
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes