Skip to content

PromptReleaseExperiment

PromptScript API


Defined in: core/src/types/prompt-bundle.ts:255

Weighted arms an entry of a v2 label splits its traffic over.

Properties

arms

arms: [PromptReleaseControlArm, PromptReleaseVariantArm] | [PromptReleaseControlArm, PromptReleaseVariantArm, PromptReleaseVariantArm] | [PromptReleaseControlArm, PromptReleaseVariantArm, PromptReleaseVariantArm, PromptReleaseVariantArm]

Defined in: core/src/types/prompt-bundle.ts:265

The control arm first, then 1 to 3 variants. Weights are integers and sum to 10000; arm names and hashes are unique. Readers check what the schema cannot.


name

name: string

Defined in: core/src/types/prompt-bundle.ts:260

Experiment name.

Pattern

^[a-z0-9][a-z0-9-]{0,63}$