Import a Pipeline
Import your Haystack pipeline into deepset Cloud to visualize it and make further updates.
Prerequisites
You must have a Haystack pipeline in the YAML format. You can use the following code to serialize your pipeline:
from haystack import Pipeline
pipeline = Pipeline()
with open("/path/to/save/the/pipeline.yaml", "w") as file:
pipeline.dump(file)
For more information, see Haystack documentation.
Import Your Pipeline
-
Log in to deepset Cloud and click Pipeline Templates in the navigation.
-
On the Templates page, choose Create empty pipeline.
-
Give your pipeline a name and click Create Pipeline. You're redirected to Pipeline Builder.
-
Switch to the YAML view using the code switch.
-
Make sure you're in the right tab (Indexing for indexing pipelines or Query for query pipelines), copy your pipeline YAML, and paste it in the code editor.
-
Use the code switch to change to the canvas view and see your pipeline visualization.
What's Next
Updated 4 days ago