Creating a Custom Action on Fine-Tuner.ai | Scribe

Creating a Custom Action on Fine-Tuner.ai

  • Alex Stan |
  • 0 step |
  • 3 minutes
  • Fine-TunerFine-Tuner
Click on the "Actions" tab
Select "Custom Action"
Click "Create"
Choose between "Templates" or "Start from Scratch"
If you select "Templates" you can see what do we have.
If you select "Start from Scratch" you can create a new Custom Action
First select what type of API request you want to do: "Post", "Get", "Put" or "Patch"
Click the "<https://api.example.com/v1/user/profile>" field to add the API address
If it's a GET call, you can add "Query Parameters"
Click "Add parameter"
Add Paramaters as "key" and "values"
Click "Headers"
Click "Authentication" to enable it if requried
Enable Authorization via the toggle
Choose the Authentication Location, and add your Bearer token or different Auth type. ! Important we don't support directly Basic Auth (create a token using <https://www.debugbear.com/basic-auth-header-generator>) \ Key = Authorization\ Value = Basic \_\_
Variables can be passed either **"Before the call"** or "**During the call"**
**"Before the call"** is better for situations where for example you want to pull context from a database/CRM based on a unique identifier as for example the phone_number.
E.g. with the phone number
**"During the call"** is good when you want something to happen during the call when the user says/requests something or wants to do a specific action
The variables have 4 inputs: **"Name"**, **"Type"**, **"Description"** and **"Example"**
This Scribe is in tip-top shape!Leave feedback if there are any issues with this Scribe