Deploy a Pipeline
After you create and save a pipeline, you must deploy it to use it for search. Deploying a pipeline triggers indexing of your files making them ready to be searched on.
You must be an Admin user to perform this task.
Deploy a Pipeline from the UI
- In deepset Cloud, click Pipelines.
- Click Deploy next to a pipeline.
The pipeline is moved to Deployed and the deployment starts. Hover your mouse over the pipeline status to see how many files have already been indexed. Once indexing is done, the status changes to Indexed.
Deploy a Pipeline with the REST API
Here's the code you can use. For more information about this endpoint, see Deploy Pipeline API.
You need to Generate an API Key first.
Follow these step-by-step instructions:
Or copy this code:
curl --request POST \
--url https://api.cloud.deepset.ai/api/v1/workspaces/<workspace_name>/pipelines/<pipeline_name>/deploy \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <your_API_key>'
What To Do Next
It may happen that the deployment fails, and the pipeline status is failed to deploy. This status means the files were not indexed, and the pipeline wasn't deployed. If you encounter this error, you must take some troubleshooting action.
To view pipeline information, such as statistics or feedback, click the pipeline name. It opens the Pipeline Details page, which contains all the information you may need.
Deployed pipelines that weren't used for 24 hours go on standby to save resources. They get activated if you run a search with them.
Updated 6 days ago