@servicenow/sdk - v4.7.0
    Preparing search index...

    Interface PromptSettings<TInputs, TTools, TProvider>

    Prompt configuration with versioning support Each prompt has a name and an array of prompt settings (versions) Generic over TInputs and TTools to enable type-safe prompt builder

    interface PromptSettings<
        TInputs extends readonly InputAttribute[] = readonly InputAttribute[],
        TTools extends
            Record<string, BaseToolHandle> = Record<string, BaseToolHandle>,
        TProvider extends string = string,
    > {
        name: string;
        versions: PromptSettingsBase<TInputs, TTools, TProvider>[];
    }

    Type Parameters

    Index

    Properties

    Properties

    name: string

    Unique prompt identifier within the provider Must be unique within a skill

    Array of prompt settings for different versions Each version represents a different configuration of the same prompt Note: filterCondition is now set per version, not per prompt