Configuration
Talkform is driven by AudioformConfig.
Shape
type AudioformConfig = {
id: string;
title: string;
description?: string;
instructions?: string;
fields: AudioformField[];
theme?: {
accent?: string;
surface?: string;
panel?: string;
};
realtime?: {
model?: string;
voice?: string;
};
output?: {
formats?: Array<"json" | "markdown">;
webhookUrl?: string;
};
};
Field types
textlong_textsingle_selectmulti_selectnumberratingurlfile_ref
Every field includes:
idlabeltyperequiredpromptTitlepromptDetailoptions?validation?agentHint?
Design guidance
- Keep prompts short and concrete.
- Use
single_selectandmulti_selectwhenever the downstream system expects enumerated values. - Put product-specific logic downstream of the exported JSON instead of inside the Talkform core.