AI metadata
Engine
form0-core supports optional AI metadata to guide external agents. Metadata is ignored by the engine unless your tooling reads it.
Form-level AI
form.ai supports the following keys:
context: Array of domain tags.instructions: Array of instructions for AI tooling.namingPolicy: Object describing naming preferences.tasks: Array of tasks to enable (for example,suggestFieldNames).requiresConsent: Boolean flag for user consent.allowCloud: Boolean flag for cloud processing.
Example:
Code
Field-level AI
field.ai supports:
context,instructions,tasks(same as form)examples: Example valuessynonyms: Alternative labelsinferrable: Boolean flag for inferencefillStrategy:infer_from_previous,require_explicit, orsuggest_optionspriority: Number indicating importancedependencies: Array of field identifierschoicePolicy: Object describing choice value strategyproviderHints: Provider-specific hintsrequiresConsent,allowCloud
Example:
Code
Last modified on