From 1fa25ab0a7611b14e22cbcfb69b846150979e810 Mon Sep 17 00:00:00 2001 From: Agus Date: Thu, 27 Jun 2024 11:56:39 +0200 Subject: [PATCH] Update docs/sections/how_to_guides/advanced/pipeline_requirements.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Gabriel Martín Blázquez --- docs/sections/how_to_guides/advanced/pipeline_requirements.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/sections/how_to_guides/advanced/pipeline_requirements.md b/docs/sections/how_to_guides/advanced/pipeline_requirements.md index c10f6ce5c8..6856f00ce5 100644 --- a/docs/sections/how_to_guides/advanced/pipeline_requirements.md +++ b/docs/sections/how_to_guides/advanced/pipeline_requirements.md @@ -1,7 +1,6 @@ # Add requirements to run a Pipeline -When sharing a pipeline that is not made of the predefined `Steps` and `Tasks` in distilabel, you may want to add the specific requirements that are needed to run it, -to warn the user if something isn't installed and avoid errors when running. +When sharing a `Pipeline` that contains custom `Step`s or `Task`s, you may want to add the specific requirements that are needed to run them. `distilabel` will take this list of requirements and warn the user if any are missing. You can now add requirements at the step level as well as on the pipeline. The following is a sample pipeline that adds requirements `nltk` as a dependency to a sample `CustomStep`, and we also inform the pipeline must run using `distilabel>=1.3.0`: