inheritFromId; any field you omit in generation is inherited from the parent’s published version at request time. Override only the fields that materially differ — the rest stay in sync with upstream improvements.
Both sections and templates support inheritance via the same inheritFromId mechanism. The override semantics differ slightly between resources — sections inherit instructions field-by-field, templates inherit instructions.prompt and the section composition.
Inheriting from an existing section
Instead of writing a section from scratch, you can inherit from an existing one and override only the fields you need. The published version of the referenced section provides the defaults; any field you omit ingeneration is inherited.
Inherit & override
Inheritance follows the published version of the referenced section at request time. If the upstream section is republished with improvements, your inherited section will pick them up for any field you have not overridden.
Inheriting from an existing template
You can create a template that inherits from another template’s published version. Fields you omit ingeneration are inherited; fields you provide override.
Inherit & override
sections from generation, the inherited template’s section composition is kept as-is. Provide a sections array if you want to replace the section composition entirely.
Inheritance resolves against the published version of the referenced template at request time. Future improvements to the upstream template propagate to fields you have not overridden.