Support Log in

47. AI Schema Generation

Developer Guide
Prefer video? Watch the Field Forge tutorials 8 short guides covering every feature Watch

Field Forge can generate field group structures from natural language descriptions. Both local template matching with auto-create and API-backed generation require the current ai_schema entitlement; without PRO/trial the REST/AJAX path returns a PRO-required error before creating groups.

25 Built-in Templates

TemplateTrigger KeywordsFields Generated
Hero Sectionhero, bannerheading, subheading, image, CTA
FAQ Sectionfaq, questionstitle, repeater of Q/A
Testimonialstestimonial, reviewtitle, repeater with quote/author/photo
Features Gridfeature, benefittitle, repeater with icon/title/description
Pricing Tablepricing, plantitle, repeater of plans
Team Sectionteam, membertitle, repeater with photo/name/position
Call to Actioncta, call to actionheading, description, button
Gallery Sectiongallery, portfoliotitle, gallery field
Contact Infocontactemail, phone, address
Productproduct, catalogsubtitle, price, gallery, specs
SEO Settingsseo, metameta title, meta description, OG image
Quick Linksquick linkstitle, repeater of label/URL
Stats / Countersstats, countertitle, repeater of value/suffix/label
Brand Logoslogo, brandtitle, repeater of logo/name/link
Video Sectionvideoheading, oEmbed, poster, caption
How It Workshow it works, stepstitle, repeater of icon/title/description
Social LinkssocialFacebook, X, Instagram, LinkedIn, YouTube
Map / Locationmap, locationaddress, latitude, longitude, zoom
Downloadsdownload, resourcetitle, repeater of title/file/description
Announcement Barannouncement, noticemessage, link, dismissible, background
Newsletter Signupnewsletter, subscribeheading, description, placeholder, button
Countdown Timercountdown, timerheading, target date/time, expired message
Tabbed Contenttabsrepeater of tab label/WYSIWYG content
Job Listingjob, career, vacancytitle, location, type, salary, description, apply
Reciperecipe, ingredientservings, times, ingredients, steps
Landing Pagelanding, websiteCombines hero + features + testimonials + CTA

API Generation

php
$ai = FIELDFORGE_AI_Schema::instance();

// Local template matching
$result = $ai->generate( 'landing page with hero and FAQ', 'local' );

// API-based generation (PRO)
$result = $ai->generate( 'real estate listing with floor plans', 'api' );

// Auto: tries local first, falls back to API
$result = $ai->generate( 'product catalog with specifications', 'auto' );

Forge AI Assistant Online

Hi! I'm the Field Forge AI assistant. Ask me anything about the plugin — setup, features, troubleshooting, or development.

Just now
Powered by Forge AI · Browse docs