ExecutionSchema

The ExecutionSchema is essential for organizing the execution flow in a program.

When you call the __or__ method of Component, it binds components in the ExecutionSchema to create the execution pipeline. However, if you call __or__ on the ExecutionSchema directly, a Component is added to the schema. To maintain the ExecutionSchema's context, it's needed to wrap it within another Component, like another ExecutionSchema or an Evaluator.

See:

ComponentExecutionSchemaEvaluator

Last updated