Portal Community

Why AI Generation?

Form Groups often have dozens of property forms, all structurally similar. Writing each one by hand is error-prone and slow. The AI generation pipeline solves this by:

What Consistency the AI Enforces

ConcernWhat the AI Learns and Enforces
FormCode namingFollows {GroupName}_{SubType?}_{Action} pattern from existing forms
Section structureUses the same section IDs and titles as peer property forms
Control typesSelects controls already used in the group for similar field purposes
Binding pathsUses the same $json or $context path patterns as existing forms
Action configurationCopies the Save/Cancel/Back action block from the group's property form template
SQL file formatProduces Atlas_Forms_{formId}_{FormCode}.data.sql with IF NOT EXISTS guard

aiGenerationEnabled Flag

// The flag is set at group registration — not per-form
const guardRailsGroup: FormGroupDefinition = {
  formGroupId:          'guard-rails',
  // ...
  aiGenerationEnabled:  true,   // Allow the AI pipeline to generate in this group
};

When aiGenerationEnabled is false, the AI pipeline refuses to generate in the group and returns an error. This protects groups where manual control is required (e.g., compliance-sensitive forms).

Pages in This Guide

PageTopic
6-Step WorkflowThe end-to-end AI generation process
AI Prompt ContextWhat data the AI receives before generating
What the AI LearnsNaming, structure, controls, bindings, actions
Generated ArtefactsJSON schema, SQL file, readme.txt
FormID AssignmentHow the AI picks the next safe FormID
SQL File PatternIF NOT EXISTS, IDENTITY_INSERT, file naming
Validating Generated FormsReview checklist before deployment