Prompt Engineering
Write better prompts, chain steps, and get consistent outputs in FormWise.
Prompt engineering is how you turn your expertise into reliable outputs. In FormWise, that means writing instructions the model can follow every time.
Use this page as your checklist before you publish a SmartForm or CoPilot.
The mental model
Every generation is the same loop:
Inputs (form fields or the chat conversation)
Context (datasets, backend data sources, crawled URLs, search results)
Instructions (your prompt)
Output (what the user sees)
Your job is to control steps 2 and 3.
SmartForms vs CoPilots (what changes)
SmartForms
SmartForms shine when you want structured input → structured output. You control the user inputs and the format.
Typical prompt goals:
Generate a doc, plan, or checklist
Produce content in a specific format
Run multi-step workflows using prompt chaining
CoPilots
CoPilots shine when you want guided conversation. You control the assistant’s role, boundaries, and behavior.
Typical prompt goals:
Ask smart follow-ups
Diagnose a situation before answering
Keep the user on a specific workflow
Prompt anatomy that works
Use this structure in both SmartForms and CoPilots:
Role: who the assistant is
Goal: what “success” looks like
Inputs: what the model will receive
Process: how to think (steps, checks, constraints)
Output format: exact structure, headings, bullets, JSON-like blocks, etc.
The 80/20 rules (use these everywhere)
Write for a junior assistant. No implied steps.
One task per step. Split big jobs into multiple prompt steps.
Provide context before variables. Tell the model what
@step_1represents.Add constraints. Length, tone, audience, and do/don’t lists.
Force a structure. Headings and bullets reduce randomness.
Prompt chaining (SmartForms)
Prompt chaining lets you break a workflow into steps. Each step can use the output of earlier steps.
Common pattern:
Step 1: extract or summarize
Step 2: generate the main output
Step 3: rewrite, format, or repurpose
Each step is a separate AI call. More steps means more tokens and more timeout risk.
Quick links
Practical templates (copy, then adapt)
SmartForm prompt template
CoPilot behavior template
Debugging prompts (fast)
Bad structure? Tighten the output format first.
Wrong assumptions? Add required inputs and clarifying questions.
Too long? Add limits (bullets, word count, “no more than 5 items”).
Inconsistent tone? Define tone + add 1–2 short examples.
Hallucinations? Add data sources, web intelligence, or “cite your source”.
Last updated
Was this helpful?