denk.halowerk.com/v1/chat-jsonl-convert
Convert fine-tuning and chat datasets between OpenAI chat messages, Alpaca, ShareGPT and prompt/completion JSONL, with per-line validation. Reads JSONL in any of four common layouts (OpenAI chat "messages", Alpaca instruction/input/output, ShareGPT "conversations" with from/value, prompt/completion), validates roles and empty turns, and writes the target layout line by line.
POST
https://denk.halowerk.com/v1/chat-jsonl-convertUptime100% of 4 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://denk.halowerk.com/v1/chat-jsonl-convert", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"jsonl":"{\"instruction\":\"Translate to German\",\"input\":\"Good morning\",\"output\":\"Guten Morgen\"}","to":"openai"}),
});
console.log(await res.json());Example input
{
"jsonl": "{\"instruction\":\"Translate to German\",\"input\":\"Good morning\",\"output\":\"Guten Morgen\"}",
"to": "openai"
}