Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Files & Cloud Storage

Files & Cloud Storage

Fine-tuning with OpenAI models

When you run it, it manages files with OpenAI / ChatGPT using Google Drive.

What it does

# Step 1 Create the training file .jsonl with the following syntax and upload it to Drive. {"messages": [{"role": "system", "content": "You are an experienced and helpful travel assistant."}, {"role": "user", "content": "What documents are needed to travel to the United States?"}, {"role": "assistant", "content": "To travel to the United States, you will need a valid passport and an ESTA authorization, which you can apply for online. Make sure to check the specific requirements based on your nationality."}]} .... The file will be uploaded here: {{ $env.WEBHOOK_URL }}

The steps

  1. When clicking ‘Test workflow’
  2. Google Drive
  3. AI Agent
  4. When chat message received
  5. OpenAI Chat Model
  6. Upload File
  7. Create Fine-tuning Job

Similar automations