Share via


PromptTemplateConfig.AddExecutionSettings Method

Definition

Adds the specified PromptExecutionSettings to the ExecutionSettings dictionary.

public void AddExecutionSettings (Microsoft.SemanticKernel.PromptExecutionSettings settings, string? serviceId = default);
member this.AddExecutionSettings : Microsoft.SemanticKernel.PromptExecutionSettings * string -> unit
Public Sub AddExecutionSettings (settings As PromptExecutionSettings, Optional serviceId As String = Nothing)

Parameters

settings
PromptExecutionSettings

The PromptExecutionSettings to add to the dictionary.

serviceId
String

The service ID with which to associated settings, or null if this should be the default settings.

Remarks

The key is the service ID, or DefaultServiceId for the default execution settings. If the service ID is null, DefaultServiceId will be used.

Applies to