Share via


function_calling_stepwise_planner Package

Modules

function_calling_stepwise_planner
function_calling_stepwise_planner_options
function_calling_stepwise_planner_result

Classes

FunctionCallingStepwisePlanner

A Function Calling Stepwise Planner.

Initialize a new instance of the FunctionCallingStepwisePlanner.

The FunctionCallingStepwisePlanner is a planner based on top of an OpenAI Chat Completion service (whether it be AzureOpenAI or OpenAI), so that we can use tools.

If the options are configured to use callbacks to get the initial plan and the step prompt, the planner will use those provided callbacks to get that information. Otherwise, it will read from the default yaml plan file and the step prompt file.

FunctionCallingStepwisePlannerOptions

The Function Calling Stepwise Planner Options.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

FunctionCallingStepwisePlannerResult

The result of the function calling stepwise planner.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.