Semantic Kernel JavaScript
    Preparing search index...

    Interface PromptExecutionSettings

    Provides execution settings for an AI request.

    interface PromptExecutionSettings {
        extensionData?: Map<string, unknown>;
        functionChoiceBehavior?: FunctionChoiceBehaviorBase;
        modelId?: string;
        serviceId?: string;
    }
    Index

    Properties

    extensionData?: Map<string, unknown>

    Extra properties that may be included in the serialized execution settings. Avoid using this property if possible. Instead, use one of the classes that extends PromptExecutionSettings.

    functionChoiceBehavior?: FunctionChoiceBehaviorBase

    Gets or sets the behavior defining the way functions are chosen by LLM and how they are invoked by AI connectors.

    modelId?: string

    Model identifier. This identifies the AI model these settings are configured for e.g., gpt-4, gpt-3.5-turbo

    serviceId?: string

    Service identifier. This identifies the service these settings are configured for e.g., azure_openai_eastus, openai, ollama, huggingface, etc. When provided, this service identifier will be the key in a dictionary collection of execution settings for both KernelArguments and PromptTemplateConfig. If not provided the service identifier will be the default value in defaultServiceId.