PromptTemplateConfig.AddExecutionSettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.