langchain_experimental.plan_and_execute.schema
.ListStepContainer¶
- class langchain_experimental.plan_and_execute.schema.ListStepContainer[source]¶
Bases:
BaseStepContainer
Container for List of steps.
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.
- param steps: List[Tuple[Step, StepResponse]] [Optional]¶
The steps.
- add_step(step: Step, step_response: StepResponse) None [source]¶
Add step and step response to the container.
- Parameters
step (Step) –
step_response (StepResponse) –
- Return type
None
- get_steps() List[Tuple[Step, StepResponse]] [source]¶
- Return type
List[Tuple[Step, StepResponse]]