Partager via


OpenAIPromptExecutionSettings.Clone Method

Definition

Overloads

Clone()

Creates a new PromptExecutionSettings object that is a copy of the current instance.

Clone<T>()

Clone the settings object.

Clone()

Creates a new PromptExecutionSettings object that is a copy of the current instance.

public override Microsoft.SemanticKernel.PromptExecutionSettings Clone ();
override this.Clone : unit -> Microsoft.SemanticKernel.PromptExecutionSettings
Public Overrides Function Clone () As PromptExecutionSettings

Returns

Applies to

Clone<T>()

Clone the settings object.

protected internal T Clone<T> () where T : Microsoft.SemanticKernel.Connectors.OpenAI.OpenAIPromptExecutionSettings, new();
override this.Clone : unit -> 'T (requires 'T :> Microsoft.SemanticKernel.Connectors.OpenAI.OpenAIPromptExecutionSettings and 'T : (new : unit -> 'T))
Protected Friend Function Clone(Of T As {OpenAIPromptExecutionSettingsNew}) () As T

Type Parameters

T

The type of the settings object to clone.

Returns

T

A new instance of the settings object.

Applies to