Docs
Sign in

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.

Screenshot to add: The Document Pipeline page with the upload buttons, status filter tabs, the document table and the Watched Folders section.

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

  1. Click Upload & Ingest

    Choose a file from your computer.

  2. 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.

  3. 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.

  1. Click Ingest from Storage.
  2. In the window, choose a Bucket. It starts on the project's bucket, or apex-data, or the first one available.
  3. 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.
  4. Tick the files you want. A count such as 3 files selected shows at the bottom.
  5. 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

ColumnWhat it shows
FileThe file name. Hover for its full storage address. A line under it gives more detail about the status, such as an error message
TypeThe file type
StatusA badge (see below)
FacetsUp to four facets as small name: value tags, plus +N more. Click the pencil to edit them. If there are none, click add
SourceHow it came in: watch (a watched folder), storage (Ingest from Storage) or upload
IngestedWhen it was ingested
(last column)A Retry button on documents that failed

Statuses

StatusMeaning
pending or queuedWaiting to be processed
running or processingBeing processed
completed or embeddedDone
failed or errorProcessing 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:

ButtonWhat it does
Scan nowChecks the folder straight away. A message says how many new files were ingested
Pause / ResumeStops or restarts the watch without deleting it
Delete watchAfter a confirmation ("Auto-ingestion from this storage prefix will stop."), removes the watch

Add a watch

Click Add Watch to open Add Watched Folder.

SettingNotes
BucketThe storage bucket to watch
Prefix (folder path)The folder, such as groundwater/incoming/. Required. "New files landing here will be ingested automatically."
File typesTick the types to ingest: pdf, docx, md, txt, doc
Poll intervalHow often to look: 30 seconds, 1 minute, 5 minutes or 10 minutes
Ingest files already in this folderTick 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".