Skip to content

AI Assistant

The AI Assistant turns a plain-language description into an unsaved pipeline draft. It is built into Enciva Web and Enciva Desktop.

A generated pipeline is a draft. Enciva keeps it unsaved until you click Save as Job. Enciva runs it only when you click Run. The Assistant does not choose a schedule. Configure that when you save the Job.

The assistant uses an AI provider that you configure with your own API key. It can also add a Prepare stage when a saved source is text that GDAL cannot open as-is.

Before you start

  • Sign in to Enciva Web, or connect Desktop to an Enciva server.
  • Open Account → AI Providers and add at least one provider. See AI providers.
  • Save the Source and Destination you want the assistant to use. The assistant chooses among connections you already own. It does not fetch a new URL or create a connection for you.

Open the assistant

In Enciva Web, open Create and choose AI Assistant.

  1. Choose a Provider. The default provider is selected when you have not chosen another. The model name for that provider is shown under the list.
  2. Write the pipeline in Pipeline instructions. Instructions can be up to 4,000 characters.
  3. Click Generate Pipeline.

Cancel stops the request that is in progress. Changing the provider or the instructions clears the current review so the next generation starts clean.

If no provider is configured, the page links to AI Providers.

Desktop uses the same steps after you connect to a server. Provider keys stay on that server. See Desktop AI Assistant.

Clarification

When the request names more than one possible source, destination, or operation, the assistant asks a short question instead of guessing.

  • A question with choices is a list. A question without choices is a text field.
  • Answer only what you know. A blank answer is left blank.
  • Click Generate Pipeline again. Earlier answers stay with the request. You can supply up to eight answers.

The assistant may ask the provider more than once while it checks the draft. That still produces one review. It does not save or run a Job.

Review the proposal

A successful generation shows Pipeline review:

Row What it tells you
Name Proposed pipeline name
Prepare Present when the source needs a preparation plan before GDAL
Source Saved source the draft will read
Destination Saved destination the draft will write
Transform Field and geometry steps, such as filter or rename
Conversion Output format and target coordinate system
Write mode How the destination is written, when one was specified
Schedule Always Manual / On demand. Set the clock in Save as Job.

The review also shows the provider name, the model, and token counts when the provider reported them.

Open in Pipeline Editor places that draft on the canvas. Opening is a separate step from generating. If the canvas already has a pipeline, Desktop asks you to choose Replace canvas. Replacing the canvas leaves any saved Job unchanged.

Finish the draft on the canvas

The opened draft uses the same canvas as a pipeline you build by hand. See Using the Canvas.

  • Preview inspects the prepared or converted data before you deliver it.
  • Run executes the draft once. You can run an unsaved pipeline. Saving it as a Job is optional.
  • Save as Job stores the pipeline so you can run it again. A Prepare plan saved with the Job is reused on later runs, including a schedule, without another call to the AI provider.

The draft is Manual / On demand. If the request mentioned a time, the review says: configure the execution schedule when saving this pipeline as a Job. The Assistant does not ask a scheduling question and does not save or enable a Job.

Incomplete destination settings

Some destination details belong to this pipeline, not to the saved connection. Examples are a PostGIS schema and table, a write mode, or an S3 object key.

When one of those values is missing, the review lists it as something to complete in the editor. Enciva does not invent a write mode. Overwrite is not assumed. A missing S3 object key, Azure blob path, or SFTP remote path may include a suggested file name for you to review. That suggestion becomes part of the destination only after you confirm it.

Open the destination card, fill in Properties, and run or save when the card is configured.

What the assistant will refuse

The assistant builds conversion pipelines. It does not create synchronization jobs, SQL transforms, Python scripts, or shell commands. A request for those is reported as unsupported and is not opened as an executable draft.

See also