Expand description
A frame is the combination of a Step
and an Executor
. It wraps common behavior used by different chain types.
This module provides the Frame
struct, which is a core component in the process of creating customized chains.
The Frame
struct is designed to simplify the process of interacting with Step
and Executor
traits, allowing
developers to focus on implementing the desired functionality without worrying about the boilerplate code.
The Frame
struct is generic over the Step
and Executor
types, ensuring that it can work with any
combination of types that implement the required traits.
Structs§
- Frame
- The
Frame
struct represents a combination of aStep
and anExecutor
.
Enums§
- Format
AndExecute Error - An error that occurs when formatting and prompt template for an LLM