Steps

What are Steps?

In the context of the pipeline, steps are the individual components or operations that make up a workflow. It wraps a component so that the Each step:

  • Processes Input: Takes data from the previous step or initial state

  • Performs Operations: Executes specific logic of a component

  • Updates State: Modifies the pipeline state with new data

  • Passes Output: Sends processed data to the next step

When you already have steps, you can arrange them in order with state passing between them, for example, retrieval_pipeline = query_transformer | retriever | reranker

Coming soon!

Last updated