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.
Signature
Section titled “Signature”function documentAssign(i: DocumentAssignInput): BuiltDecision<"document-assign">Parameters
Section titled “Parameters”| Name | Type | Required | Description |
|---|---|---|---|
i |
DocumentAssignInput |
required |
Returns
Section titled “Returns”BuiltDecision<"document-assign">
Example
Section titled “Example”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." });