Document Pipeline
The Document Pipeline brings documents into your project and keeps track of them. You can upload a file from your computer, pick files already in Object Storage, or set up a watched folder that ingests new files automatically. Each document gets its text indexed and its facets (descriptive tags such as project, site or report type) extracted by AI.
The page has three parts: the document table at the top, the upload buttons in the header, and the Watched Folders section at the bottom. A line under the title counts what is there, such as 24 files ingested · auto-refreshes every 8 s.
Supported files
PDF, Word (.docx, .doc), Markdown (.md) and plain text (.txt).
Add documents
Three ways in, from the header and the bottom of the page.
Upload & Ingest
Click Upload & Ingest
Choose a file from your computer.
Confirm
A window titled Upload document for indexing shows the file name and size, and says "AI will extract metadata facets automatically after ingestion." Click Upload & Ingest, or Cancel.
Wait for processing
A message says the file is queued for ingestion. It then appears in the table with a status that updates on its own.
If the upload fails, a message says Upload failed: with the reason.
Ingest from Storage
For files that are already in Object Storage.
- Click Ingest from Storage.
- In the window, choose a Bucket. It starts on the project's bucket, or
apex-data, or the first one available. - Click folder names, or the path at the top, to move around. Only document files are listed, with their Name and Size. "Empty folder" means there is nothing to show.
- Tick the files you want. A count such as
3 files selectedshows at the bottom. - Click Ingest (3).
A message says how many files were queued, and another says how many failed to queue, if any.
Automatically, with a watched folder
A watched folder checks a storage location again and again and ingests whatever new documents appear, with no clicking. See Watched Folders.
The document table
With no documents it says "No documents yet." If it cannot load, it says "Failed to load manifest." Refresh reloads the table, though it also updates itself every 8 seconds.
Status tabs
Tabs above the table filter by status, with a count in brackets: all, pending, running, embedded and error.
Columns
| Column | What it shows |
|---|---|
| File | The file name. Hover for its full storage address. A line under it gives more detail about the status, such as an error message |
| Type | The file type |
| Status | A badge (see below) |
| Facets | Up to four facets as small name: value tags, plus +N more. Click the pencil to edit them. If there are none, click add |
| Source | How it came in: watch (a watched folder), storage (Ingest from Storage) or upload |
| Ingested | When it was ingested |
| (last column) | A Retry button on documents that failed |
Statuses
| Status | Meaning |
|---|---|
| pending or queued | Waiting to be processed |
| running or processing | Being processed |
| completed or embedded | Done |
| failed or error | Processing failed. The detail line shows why. Click Retry to queue it again |
Edit facets
Click the pencil on a document's facets, or add when it has none. A window titled Edit document facets opens.
- Change a value by typing in its box.
- Remove a facet with the ✕ next to it.
- To add one, type a key and a value at the bottom and click +.
- Click Save. A message says "Facets saved", or "Failed to save facets".
Watched Folders
The Watched Folders section lists each watch. With none, it says "No watched folders yet. Click Add Watch to start auto-ingesting from a storage prefix."
Each watch shows its folder, then a status line: when it last ran (Last scan Oct 8, 02:00 PM, or Never scanned), N ingested and every Ns. At the right are three buttons:
| Button | What it does |
|---|---|
| Scan now | Checks the folder straight away. A message says how many new files were ingested |
| Pause / Resume | Stops or restarts the watch without deleting it |
| Delete watch | After a confirmation ("Auto-ingestion from this storage prefix will stop."), removes the watch |
Add a watch
Click Add Watch to open Add Watched Folder.
| Setting | Notes |
|---|---|
| Bucket | The storage bucket to watch |
| Prefix (folder path) | The folder, such as groundwater/incoming/. Required. "New files landing here will be ingested automatically." |
| File types | Tick the types to ingest: pdf, docx, md, txt, doc |
| Poll interval | How often to look: 30 seconds, 1 minute, 5 minutes or 10 minutes |
| Ingest files already in this folder | Tick it to ingest the files that are already there, not only new ones |
Click Create Watch. A message says Watch created, or explains what went wrong. Without a prefix you see "Enter a storage prefix".