Running the pipeline

You can run the pipeline right from the builder screen to test pipeline execution. Make sure to meet all the requirements before doing so:

  • Pipeline has at least one input node
  • Pipeline has at least one output node
  • All nodes and handles are connected
  • All inputs are non-empty in the left sidebar
  • All required variables are set in env variables page.

Simply click “Run” near pipeline execution, and you’ll see the outputs in the bottom drawer once the execution completes.

execution result of a simple input-LLM-output pipeline

execution result of a simple input-LLM-output pipeline

Running multiple executions in parallel.

You may want to experiment with different prompts or dynamic inputs in parallel in order to better assess the performance of your model at the same time. Here are some simple step to do this with laminar:

  1. Build your pipeline
  2. Click “Add parallel execution” in the left sidebar. Click it as many more times as you want!
  3. Don’t worry you can unstage an execution if you’ve added one by mistake
  4. IMPORTANT: make sure to fill in all the inputs for all executions on the left
  5. Click “Run” and all your calls will be made in parallel.
  6. Compare and study your results in the bottom drawer.
  7. Repeat and have fun.
execution result of a simple input-LLM-output pipeline with three parallel inputs

execution result of a simple input-LLM-output pipeline with three parallel inputs

Saving your work

You don’t have to, workshop version is saved automatically!

Commit a new version

If you want to store the current pipeline to be able to come back later, click “Commit” at the top of the page, and give this new version a name. This will save the current workshop version snapshot as a commit, which you can later choose from the versions dropdown. Commit versions can be pointed to by endpoints and used elsewhere.

Deploying a pipeline version

Once you are happy with your pipeline and ready to use it in external applications, be it testing or production, you can deploy your pipeline version to an endpoint. If this is a workshop version, clocking “deploy” will create a new commit and link the selected endpoint to it.

  1. Make sure you are happy with all node names, especially inputs and outputs. Remember, node names must be unique. See Naming nodes.
  2. Click “Deploy” at the top of the page.
  3. Name this deployment so that you can identify it in the history in the future.
  4. Choose an endpoint to deploy your pipeline to or create a new endpoint from the same page.

After the deployment is successful, you can go to the endpoints page and see the deployment you’ve just made. For more, read Endpoints.