Share via


FunctionCallingStepwisePlannerResult Class

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.

Constructor

FunctionCallingStepwisePlannerResult(*, final_answer: str = '', chat_history: ChatHistory | None = None, iterations: int = 0)

Keyword-Only Parameters

Name Description
final_answer
Required
chat_history
Required
iterations
Required

Attributes

chat_history

chat_history: ChatHistory | None

final_answer

final_answer: str

iterations

iterations: int