Skip to main content
Template-based generation starts from an already designed file (a Word document or PowerPoint deck with placeholders such as {{customer}}) and fills those placeholders with data. Template-free generation composes the whole document from the content and a description of the style, and decides its structure. The first gives very predictable results; the second adapts to content whose shape changes.

Why it matters when generating documents with AI

  • A template fixes the structure: if the content a model writes has more sections or tables than expected, it doesn’t fit.
  • Without a template, the layout has to adapt to the kind of document (a contract, a letter, a report).
  • Templates cost upkeep: every new document type needs its own.
  • A middle path is copying the design of an existing file (fonts, colors, logo) while leaving the structure free.

With Doconda

Doconda creates documents without a template, from a sentence or your Markdown, and adapts the layout to the kind of document. If you pass a reference file in sources and say so in the request, it copies its design: a presentation is used as the template; from other files it copies fonts, colors, margins, header and footer, logo and cover. It works in standard and best (Copy the design of a file).