次の方法で共有


AzureOpenAIPromptExecutionSettings.FromExecutionSettingsWithData Method

Definition

Caution

This method is deprecated in favor of OpenAIPromptExecutionSettings.AzureChatExtensionsOptions

Create a new settings object with the values from another settings object.

[System.Obsolete("This method is deprecated in favor of OpenAIPromptExecutionSettings.AzureChatExtensionsOptions")]
public static Microsoft.SemanticKernel.Connectors.AzureOpenAI.AzureOpenAIPromptExecutionSettings FromExecutionSettingsWithData (Microsoft.SemanticKernel.PromptExecutionSettings? executionSettings, int? defaultMaxTokens = default);
[<System.Obsolete("This method is deprecated in favor of OpenAIPromptExecutionSettings.AzureChatExtensionsOptions")>]
static member FromExecutionSettingsWithData : Microsoft.SemanticKernel.PromptExecutionSettings * Nullable<int> -> Microsoft.SemanticKernel.Connectors.AzureOpenAI.AzureOpenAIPromptExecutionSettings
Public Shared Function FromExecutionSettingsWithData (executionSettings As PromptExecutionSettings, Optional defaultMaxTokens As Nullable(Of Integer) = Nothing) As AzureOpenAIPromptExecutionSettings

Parameters

executionSettings
PromptExecutionSettings

Template configuration

defaultMaxTokens
Nullable<Int32>

Default max tokens

Returns

An instance of OpenAIPromptExecutionSettings

Attributes

Applies to