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][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.
- abstractmethod add_step(
- step: Step,
- step_response: StepResponse,
Add step and step response to the container.
- Parameters:
step (Step)
step_response (StepResponse)
- Return type:
None