Semantic Kernel JavaScript
    Preparing search index...

    Class PromptTemplateConfig

    Index

    Constructors

    • Parameters

      • __namedParameters: {
            allowDangerouslySetContent?: boolean;
            description?: string;
            inputVariables?: InputVariable[];
            name?: string;
            prompt: string;
            templateFormat: "handlebars";
        }

      Returns PromptTemplateConfig

    Properties

    allowDangerouslySetContent: boolean

    Gets or sets a value indicating whether to allow potentially dangerous content to be inserted into the prompt from functions.

    description?: string
    inputVariables: InputVariable[]
    name?: string
    prompt: string
    templateFormat: "handlebars"

    Accessors

    Methods

    • Adds execution settings for a specific service.

      Parameters

      • settings: PromptExecutionSettings

        The execution settings to add.

      • OptionalserviceId: string

        The service id to associate with the settings (optional).

      Returns void