Skip to content
HomePagesHomePages template kit

documentAssign

Fills a single `document` slot by having the model choose one file from the documents stored on the property.

Fills a single document slot by having the model choose one file from the documents stored on the property. pick is the selection-brief prose — and it is the whole brief, so write it against what a document IS: the model sees each candidate’s filename, file type, and whatever text was distilled out of it (a spreadsheet or slide deck carries none, so name the file type when it matters).

Import from @homepages/template-kit.

function documentAssign(i: DocumentAssignInput): BuiltDecision<"document-assign">
Name Type Required Description
i DocumentAssignInput required

BuiltDecision<"document-assign">

import { documentAssign } from "@homepages/template-kit";
documentAssign({ pick: "The offering brochure — a multi-page PDF about the whole property, not a single-unit floor plan." });