Fine-tune dataset converter
dataset-convertConverts JSONL between OpenAI-style chat, Anthropic-style messages and Alpaca rows. System prompts move between the system message and the top-level field; rows that cannot convert are listed. Returns { from, to, converted, skippedCount, skipped: [{ line, reason }], jsonl } Price: 2 credits (1 credit = 1 CAD cent) per successful call; input that does not match the schema is rejected before billing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"jsonl": "<jsonl>",
"to": "<to>"
},
"name": "dataset-convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target format: openai, anthropic or alpaca (alpaca takes single user/assistant exchanges only). | |
| from | No | openai (messages with system/user/assistant/tool), anthropic (top-level system + user/assistant messages), alpaca (instruction/input/output), or auto to detect from the first parseable row. | auto |
| jsonl | Yes | JSONL: one JSON object per line, up to 60,000 characters and 5,000 lines. Blank lines are ignored. |