Your documents become a base you can query.
On every schedule, a pipeline reads your PDFs, Office files and scans, extracts their text, classifies it and writes it to an SQL table.
What it replaces
- Today, without Hyperfluid
- OCR scripts (reading scans) run at fixed times, sorting by hand, files nobody queries.
- Public cloud equivalent
- Amazon Textract, Azure AI Document Intelligence, Google Document AI, orchestrated by you.
- With Hyperfluid
- A chain drawn once, scheduled by the platform. It tracks every file and retries failures.
What it's for
-
Read your archives
The PDFs and scans in a bucket become text in a table.
-
Sort your documents
A language model classifies each document.
-
Feed an assistant
An AI agent answers from these tables.
In the console
How you use it
- Start from a template or a blank canvas (
Pipelines › New pipeline). - Set each step: bucket, table, model, key from the vault.
- Deploy once it is ready (
Ready to deploy). - Follow runs and files (
Runs,Files).
# A bucket's text into an Iceberg table, every morning, and a first time right nowhfctl pipelines create trino --name contracts --type markitdown \ --from docs-bucket --into lake.rag.documents --schedule "0 6 * * *" --now# Its runs, then the files that did not make ithfctl pipelines runs list contractshfctl pipelines refs contracts --status failed data "hyperfluid_environment" "default" { name = "default"}variable "documents_container_id" { description = "Id of the Iceberg data container that receives the extracted documents." type = string}resource "hyperfluid_bucket" "inbox" { env = data.hyperfluid_environment.default.id name = "inbox"}resource "hyperfluid_pipeline" "invoices" { env = data.hyperfluid_environment.default.id name = "invoices" type = "trino" schedule = "*/30 * * * *" spec = jsonencode({ pipeline_type = "markitdown" source = { type = "harbor_bucket", bucket_name = hyperfluid_bucket.inbox.name } metadata_storage = { data_container_id = var.documents_container_id schema_name = "documents" table_name = "invoices" } })} The bucket's text lands in a table as Markdown, every 30 minutes.
Operations and limits
- External OCR
- With Mistral's hosted API, documents leave the platform.
- Prewired chain
- Bucket, Classify, Table goes through Mistral's OCR without showing it.
- Changes
- Only suspension and the maximum duration change in place. Any other change recreates the pipeline and deletes its history.
- History
- Runs kept for 30 days by default.
Not shipped yet
- Editing the steps or trigger of a deployed pipeline.
- A connector as a source in the editor (Google Drive, SharePoint and email have their own pipelines).
- OneDrive, Proton Drive, Dropbox and S3 connectors, listed but not creatable.
- An alert on a failed pipeline.
Technical sheet and operating details (8)
- OCR
- Two options: an OCR model served by the platform, called through the gateway, or Mistral's hosted API.
- Formats
- The Extract text step reads the text layer of born-digital PDFs and Office files, with no model and no cost. Scans go through the OCR step.
- File already processed
- It is not read again: to reprocess it, drop it under a new name. The table keeps one row per file name.
- Failures
- A failed file is retried on the following runs, then marked Failed once its attempts are used up. hfctl pipelines refs --status failed lists them.
- Runs
- Two runs never overlap. Maximum duration: three times the interval by default, between 15 minutes and 6 hours, adjustable up to 24 hours.
- Model keys
- Picked from the vault's secrets, not typed into the configuration.
- Commands
- hfctl pipelines trigger runs a pipeline on demand, hfctl pipelines suspend suspends its schedule.
- Terraform
- The Iceberg data container that receives the text is passed through the documents_container_id variable.
See a bucket of PDFs become a table.
What you will see in the demo
PDFs run through OCR, tracked file by file, then the table queried.