Edit a Pipeline
Improve your pipeline to make your search faster and more accurate. You edit pipelines in a YAML file by default, but you can also open them in a Jupyter Notebook. You cannot change the pipeline name.
You must be an Admin user to perform this task.
Edit a Pipeline Using YAML
This is the default way of editing pipelines. You can use it to replace one node with another or update the parameters quickly.
- Log in to deepset Cloud and go to Pipelines.
- Find the pipeline you want to edit, click the three dots menu next to it, and click Edit.
- Modify the YAML file and save it.
If you're editing a deployed pipeline, you must undeploy it before saving. - Deploy the pipeline to use it for search.
Edit a Pipeline with REST API
With this method, you can quickly upload an updated pipeline YAML to deepset Cloud. You need to Generate an API Key first.
See this recipe for a step-by-step explanation of the code:
▶️
Update Pipeline YAML
Open Recipe
Or copy this code:
curl --request PUT \
--url https://api.cloud.deepset.ai/api/v1/workspaces/<YOUR_WORKSPACE>/pipelines/<YOUR_PIPELINE_NAME>/yaml \
--header 'accept: application/json'
--authorization: Bearer <API_KEY>
You can find more information about this endpoint at update pipeline YAML.
Updated 3 days ago
Related Links