Training example (JSONL)
A training example is one input together with the answer a model should learn to give, and JSONL (JSON Lines) is the usual file format for them: a text file with one JSON object per line. Common shapes are a chat conversation as a list of messages ending in the assistant's answer, or a prompt and completion pair. Valcairn reads .jsonl files in three shapes: a conversation ending in an assistant answer, a prompt/completion pair, or a prompt/chosen/rejected triple for preference tuning. Its training-file check applies the runner's own rules in the browser, so the file never leaves your device.