Configure the form

Configure the form

A form describes what and how to extract: fields with stable ids, the prompts extraction follows, and the model configuration. There are two ways to define one:

  • Configured in the workspace — your code only holds its reference; fields, prompts and models change without a release.
  • Defined in code — a plain object shipped with your app, recorded in your workspace on first use.

Both produce the same sessions and the same values; they differ in who changes the form and how a change reaches production.

Configured in the workspaceDefined in code
Where the definition livesIn your workspace. Your code names it: key, version, language.In your code, as a form object built with FormField. Recorded in your workspace on first use.
Change fields or promptsEdit a draft, publish — no release of your app.Edit the code, deploy.
Who works on itAnyone with workspace access — product, ops, a prompt engineer.Developers, in the repository, with code review.
Testing promptsThe Engineer tab: speak, watch what lands, adjust.From a local deployment.
Choose it whenThe form's wording will keep evolving after launch, or non-developers own it.The form is generated, per-tenant, or you want one source of truth in the repo.

In this section

Next: the workspace needs an API key in the right mode before code can name the form — Authentication and usage.