Guides

Preparing data

Which documents to bring, how to prepare good answers, and how training material stays separate from tests.

Good data is inspectable, relevant to one task, and separate from the tests used to judge the final candidate.

Supported source types

Text-based PDF, DOCX, TXT and Markdown, CSV and XLSX, user-supplied JSONL examples, pasted text, and bounded public websites are the intended source formats. A parser can still reject malformed, oversized, encrypted, or unsupported content.

Scanned PDFs need an explicitly enabled OCR path. Image, audio, video, macros, and arbitrary executable document content are not general training inputs.

Inspect before using

Check extracted text, page or sheet references, missing sections, and warnings. Keep source hashes and revisions. Replacing a policy creates a new source/library revision; it does not silently change an existing dataset snapshot.

Show the AI how you want it to answer

A bike shop could teach the AI to label incoming requests. If a customer writes “Can you fix a flat tire this week?”, the label should be “repair booking”.

Start with the messages your software receives and the results it should return. Review the examples for conflicting answers, and remove passwords and personal details the task does not need.

Split before deriving examples

Group source documents, entities, and revisions before generating or deriving examples. Training, validation, and held-out test data must remain disjoint, with duplicate checks across splits. Keep a fixed regression set that is never trained on.

Update facts separately

For current policies or inventory, prefer a knowledge library. Adding or removing a document and reindexing changes retrieval without changing model weights.