PromptVariantDiff
The diff of one variant (1.55.0).
An object with 4 fields.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
change | PromptDiffChange | yes | |
lines | array of PromptDiffLine | yes | For a changed variant, the changed lines with 3 lines of context around each change (a target); empty otherwise. |
truncated | boolean | yes | True when the diff of the variant passed 2,000 lines. |
variant | PromptVariantKey | yes |