Ask questions of your Documents and files data

Upload documents and table files to Foundry. Text and PDFs are read for facts that keep their quotes; CSV, JSON and Parquet files become tables of their own.

What Foundry reads from Documents and files

Files you upload into document sets, up to 20 sets a workspace:

Documents

  • Text: Markdown, MDX and plain text, up to 1 MiB
  • PDF: up to 3 MiB, its text read page by page (scanned PDFs have no text to read)
  • Tables: CSV, TSV, JSON, JSON Lines and Parquet, up to 3 MiB

Questions you can ask

  • “Which contracts renew in the next 90 days, and at what price?”
  • “Which companies in our contracts are not in Stripe?”
  • “What are the payment terms in each vendor agreement?”

From tables to a graph

How Documents and files becomes part of your graph

The ontology agent drafts which facts each set's documents fill, such as a contract's customer, signing date and term. Each fact keeps the quote it came from, and a name it can't match for sure, or a value documents disagree on, waits for your review.

  1. Sync. Foundry keeps its copy of your data up to date, syncing more often on paid plans.
  2. Draft. The ontology agent drafts types, links and rules from your data and your goal. You review and edit it.
  3. Load. A load writes it into HelixDB, and every value keeps its source: a table row, or a quote in a document.
  4. Ask. The Analyst answers questions with the queries it ran and a source for every claim, and on Helix Cloud your agents can query it through the Helix MCP.

Setup

Connect Documents and files

  1. In Foundry, open Data and click Upload documents, or drop files on a document set.
  2. Foundry reads each table file and PDF once it is uploaded.
  3. Choose the sets when you generate an ontology, so its loads read them.