Partager via


PromptTemplateConfig Constructors

Definition

Overloads

PromptTemplateConfig()

Initializes a new instance of the PromptTemplateConfig class.

PromptTemplateConfig(String)

Initializes a new instance of the PromptTemplateConfig class using the specified prompt template string.

PromptTemplateConfig()

Initializes a new instance of the PromptTemplateConfig class.

public PromptTemplateConfig ();
Public Sub New ()

Applies to

PromptTemplateConfig(String)

Initializes a new instance of the PromptTemplateConfig class using the specified prompt template string.

public PromptTemplateConfig (string template);
new Microsoft.SemanticKernel.PromptTemplateConfig : string -> Microsoft.SemanticKernel.PromptTemplateConfig
Public Sub New (template As String)

Parameters

template
String

The prompt template string that defines the prompt.

Exceptions

template is null.

Applies to