Partager via


FunctionCallingStepwisePlannerOptions Class

Definition

Configuration for Stepwise planner instances.

public sealed class FunctionCallingStepwisePlannerOptions : Microsoft.SemanticKernel.Planning.PlannerOptions
type FunctionCallingStepwisePlannerOptions = class
    inherit PlannerOptions
Public NotInheritable Class FunctionCallingStepwisePlannerOptions
Inherits PlannerOptions
Inheritance
FunctionCallingStepwisePlannerOptions

Constructors

FunctionCallingStepwisePlannerOptions()

Initializes a new instance of the FunctionCallingStepwisePlannerOptions

Properties

ExcludedFunctions

A list of functions to exclude from the plan creation request.

(Inherited from PlannerOptions)
ExcludedPlugins

A list of plugins to exclude from the plan creation request.

(Inherited from PlannerOptions)
ExecutionSettings

The prompt execution settings to use for the step execution phase.

GetAvailableFunctionsAsync

Callback to get the available functions for planning (optional). Use if you want to override the default function lookup behavior. If set, this function takes precedence over Microsoft.SemanticKernel.Memory. Setting ExcludedPlugins, ExcludedFunctions will be used to filter the results.

(Inherited from PlannerOptions)
GetInitialPlanPromptTemplate

Delegate to get the prompt template YAML for the initial plan generation phase.

GetStepPromptTemplate

Delegate to get the prompt template string (system message) for the step execution phase.

MaxIterations

The maximum number of iterations to allow in a plan.

MaxTokens

The maximum total number of tokens to allow in a completion request, which includes the tokens from the prompt and completion

MaxTokensRatio

The ratio of tokens to allocate to the completion request. (prompt / (prompt + completion))

MinIterationTimeMs

The minimum time to wait between iterations in milliseconds.

SemanticMemoryConfig

Semantic Memory configuration, used to enable function filtering during plan creation.

(Inherited from PlannerOptions)

Applies to