BaseStepContainer#

class langchain_experimental.plan_and_execute.schema.BaseStepContainer[source]#

Bases: BaseModel

Base step container.

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

Raises ValidationError if the input data cannot be parsed to form a valid model.

abstract add_step(step: Step, step_response: StepResponse) None[source]#

Add step and step response to the container.

Parameters:
Return type:

None

abstract get_final_response() str[source]#

Return the final response based on steps taken.

Return type:

str