PromptDefinitionFragmentV1
Prompt configuration attached to a flag fragment.
Validation callbacks are dropped. Only the serializable description of the prompt survives.
- Import:
@kjanat/dreamcli - Export kind: type
- Declared in:
src/core/json-schema/index.ts - Source link:
src/core/json-schema/index.ts:156
Signatures
ts
type PromptDefinitionFragmentV1 = unknown;Members
Properties
choices
ts
choices?: readonly PromptChoiceFragmentV1[];kind
ts
kind: PromptKind;max
ts
max?: number;message
ts
message: string;min
ts
min?: number;placeholder
ts
placeholder?: string;