> ## Documentation index
> Fetch the complete documentation index at: https://docs.heurastudios.com/llms.txt
> Use this file to discover all available pages before exploring further.

# The pipeline

> The advanced view of a model. Every tool it's built from, the wires between them, and what changes when you unplug one.

Source: https://docs.heurastudios.com/workspace/pipeline/

Every model has a pipeline underneath: the tools it's built from and what each one passes to the next. You never need it to build a model; it's there when you want to see exactly how one works, or change it. Open it from the notebook's menu, or press <kbd>⌘</kbd> <kbd>K</kbd> and pick **Open the pipeline**.

The canvas reads left to right: your team's knowledge comes in on the left, runs train and check new versions in the middle, and the release side decides what's live and serves it. While a run goes, the nodes and wires each step uses light up.

## The tools

| Group | Tool | What it does |
| --- | --- | --- |
| **Data** | Files | Documents the model looks things up in. |
| | Rules | Facts and rules every answer follows. |
| | Examples | Questions with the answers you want. |
| | Fixes | Answers marked good or fixed in the Playground. |
| | Interviews | The model interviews your team and saves facts and rules. |
| **Training** | Tests *(owner)* | The test questions every run is scored on. |
| | Base model *(owner)* | The model every version starts from, or an engine you connect. |
| | Train | Runs that build examples and fixes into a new version. |
| | OpenAI fine-tune *(owner)* | For a model that answers with GPT: trains it on OpenAI. |
| **Ship** | Release gate *(owner)* | Decides which version is live. |
| | Deploy | Serves the live version: the endpoint, the website agent and export. |
| | Playground | Where you ask it questions and mark answers. |

Tools marked owner are changed only by the model's owner; teammates work in the rest.

## Wires

Each wire carries something real. **Dashed** wires are read when the model answers; **solid** wires carry what runs train on and what goes live. The owner can unplug any wire, by clicking it on the canvas or with **Unplug** under a node's inputs, and the model behaves differently:

| Wire | Carries |
| --- | --- |
| Files to Deploy | The parts of your files that match each question |
| Rules to Deploy | Your facts and rules, into every answer |
| Examples to Deploy | The examples most like the question |
| Fixes to Deploy | The fixes most like the question |
| Examples to Train | Examples, as training rows |
| Fixes to Train | Fixes, as training rows |
| Tests to Train | The test questions each run is scored on |
| Base model to Train | The model each run trains from |
| Train to Release gate | Each run's new version |
| Release gate to Deploy | The live version |
| Deploy to Playground | Deploy's answers |
| Playground to Fixes | Good answers and fixes |
| Interviews to Files and Rules | Files added and facts and rules saved during an interview |

With the gate unplugged from Train, runs still train, but nothing goes live by itself: the owner promotes a version by hand.

## Starting from a blank canvas

A new model's canvas has the tools it learns with. One made with **Start with an empty pipeline** has nothing on it: add tools from the palette by clicking one or dragging it onto the canvas. A tool that's not on the canvas is off, as if its wires were unplugged, so without **Deploy** nothing answers: not the endpoint, the website agent or the Playground. Removing a tool keeps what it holds; add it back to use it again.

## Automation

Two owner settings make a model run on its own, both off by default:

- **Runs by itself** (on Train) starts a run when a number of new lessons are waiting. See [Training runs](https://docs.heurastudios.com/build/training-runs/).
- **Run tests every night** (on Tests) runs the test set once a night. See [Evals](https://docs.heurastudios.com/build/evals/).

The model's activity says what each one did, and once a day what stopped it.
