Structurally compress a JSON-serializable value for cheaper inclusion in a model
prompt. Pure and deterministic: the same logical input always yields byte-identical
Text. The returned CrushResult.Legend carries everything needed to read the
output, so no information is dropped without a corresponding legend marker.
Structurally compress a JSON-serializable value for cheaper inclusion in a model prompt. Pure and deterministic: the same logical input always yields byte-identical
Text. The returned CrushResult.Legend carries everything needed to read the output, so no information is dropped without a corresponding legend marker.