datarobot_genai.eval.dataset
dataset
to_byob_jsonl
Write the dataset to the JSONL the BYOB runner consumes.
Every field of each case is passed through verbatim — NeMo BYOB places the
whole row into sample.metadata, so a benchmark can read any field it
needs (context, canary, constraints, match_mode,
entity_types, …) with no change required here. We only guarantee the two
keys the runner itself relies on: input (the prompt template key,
defaulted so a malformed row surfaces in the scorer rather than at render
time) and id (required — a missing one is a genuine error).