← Back to homepage

Add AI-Generated Field

Add a new attribute field to a feature layer by prompting AI. Prompts can reference existing attributes and you can optionally filter features with SQL.

Usage

  1. Add the .pyt toolbox to ArcGIS Pro.
  2. Open Add AI-Generated Field.
  3. Complete the parameters below.
  4. Run the tool to append a populated field to your layer.

Parameters

NameTypeRequiredDescription
SourceString (Choice)YesAI provider. Default: OpenRouter. Options include OpenAI, Azure OpenAI, Claude, DeepSeek, Local LLM, Wolfram Alpha.
ModelStringNoSpecific model for the provider.
EndpointStringNoCustom endpoint for Azure or local hosting.
Deployment NameStringNoAzure OpenAI deployment.
Input LayerFeature LayerYesLayer to update.
Output LayerFeature LayerYesResulting layer with the new field.
Field NameStringYesName of the field to add.
PromptStringYesInstructions for the AI. Reference attributes with {FIELDNAME}.
SQL QueryStringNoFilter which features receive values.

Tips