Skip to main content
Version: Studio 2.2.7

Intelligence Graphs: build a version

Build a version of an Intelligence Graph from one PDF, for a new graph or an existing one. Read it before your first build, and when a build is slow, cancelled or fails.

Before you start: one PDF of up to 32 pages and 50.0 MB, and no other version of the graph building.

Start the build​

  1. New graph: on the Intelligence Graphs list, click Create Intelligence. Under Graph details, enter a Name (required; "Up to 100 characters. Letters, numbers, spaces and punctuation.") and a Description (optional) of up to 500 characters. Existing graph: click Create new version on the graph's page; the New version section reads "This build creates a separate version and preserves earlier versions."
  2. Under Source PDF ("One PDF of up to 32 pages and at most 50.0 MB.") choose the file. Studio shows "Checking PDF…" while it counts the pages in your browser, then Selected PDF, Size and Pages.
  3. Click Create and build version 1 for a new graph, or Start build. The button reads Creating graph…, Starting build… and Uploading PDF…, then the build page opens. Keep the tab open until it does; after that you can leave and the build carries on.

While the button is disabled, the reason sits beside it, such as "Choose a PDF first.", "Give the Intelligence Graph a name." or "Finish or cancel the pending upload first." Studio refuses a file that is not a PDF ("Only PDF files are supported."), one over 50.0 MB or over 32 pages (the message names its size or page count) and one it cannot open ("Could not read PDF. Please try a different file.").

For example: a graph named "Credit Risk Policies", built from a 24-page credit policy and limits framework PDF.

Follow the build​

  1. The build page shows the graph's name, the Version and its status. Under Build progress: "You can leave this page. The build continues and remains available in version history."
  2. Six stages run in order: 1. Upload, 2. Prepare document, 3. Parse document, 4. Build graph, 5. Import graph and 6. Train embeddings. Each reads Not started, In progress, Complete, Failed, Cancelled or Skipped, with its start and finish times; a failed stage shows its error. Progress refreshes every 5 seconds while the tab is visible. In 6. Train embeddings a version built on Studio 2.2.7 or later also learns how the relationships in your document connect and checks, on connections it held back, which kinds of relationship that improves. Agents searching the version then use it for those kinds only: to bring forward the evidence behind an answer, and to point to likely links the document does not state, which the agent is told never to cite as facts (Intelligence Graphs).
  3. Elsewhere, the graph's page shows "Version 2 is building" with the current stage, such as Build graph, step 4 of 6, and its list row reads "Building version 2". To come back, click View build log on the version's row.
  4. Live log streams the build's log, each line as 10:21:07 [INFO] message. Its status reads Connecting…, Live, Reconnecting…, Unavailable or Ended, beside a line count. It is open while the version builds or when you arrive through View build log; Show log and Hide log fold it. Scrolling up pauses it and Jump to latest resumes. Copy log copies the lines held, the last 500. When the build ends the log reads "Log stream ended." plus the reason if it failed.

Cancel, fail, retry​

  1. Cancel build (in the Action Bar on the build page, on the version's row, or in the building notice on the graph's page) asks you to confirm: "Stop building v2? The build stops at its next checkpoint — usually within a few minutes — and the partial graph is removed." Click Stop build or Keep building. The page then reads "Build cancelled": "This version’s partial graph was removed."
  2. A failed build reads "Build failed", for example "v2 failed at Build graph: <reason>. Retry as a new version or delete it." The reason also shows under Failed on the graph's versions. Other versions are unaffected.
  3. Retry as new version rebuilds the stored document as a new version and opens its build page. If the stored document is no longer available, you return to the PDF form with the reason; choose the PDF again. On the graph's page, Retry as new version is disabled while another version builds.
  4. Delete version on a failed or cancelled build asks "Delete version 2?" ("Delete version 2 and everything recorded for it.") with Delete version or Keep version, then opens the graph's page.

If the upload fails​

The PDF goes to your Studio deployment's own address, which stores it. If the upload fails, "Build could not start" shows the service's reason, such as "The upload window for this version has closed. Cancel it from the Versions table and start again.", "The file is larger than 50 MB." or "Only PDF files can be uploaded.", or "The upload failed (HTTP <status>)." when it gave none, with Retry upload (the same file) and Cancel version 2. The PDF picker is disabled until you choose one. While Studio restarts the reason reads "Studio is temporarily unavailable — try again in a moment." A version that receives no document within 15 minutes fails with "No document was uploaded within 15 minutes of creating this version." and its partial upload is removed; click Create new version and choose the PDF again.

What you should see​

"Version 2 is Ready": "Agents can now pin to this version.", every stage Complete, a stats line such as 650 nodes · 1,240 edges · 6 relation types · 24 pages, and the version offered in an agent's graph picker as v2 · Ready · <date>.

Notes​

RuleValue
Documents per versionone PDF, up to 32 pages and 50.0 MB
Builds per graphone at a time
Upload window15 minutes from creating the version
Build timedepends on the document and the deployment's sizing; a 26-page document takes hours on the xs tier
  • The build cannot start: "This graph already has a version building — cancel it or wait for it to finish.", "Studio is updating — try again in a few minutes." or "The build could not be started (HTTP <status>)." If Studio reads "v2 was created but the service returned nowhere to upload the PDF. Cancel it from the Versions table and try again.", do that.
  • "Build progress unavailable" with Try again: Studio is updating. "Studio is temporarily unavailable — retrying…" beside the stages: Studio keeps reading every 5 seconds and nothing is lost.
  • Live log reads Unavailable, for example "Log unavailable (HTTP 403).": the stream was refused; the stages still show progress.
  • Sizing tiers are on Infrastructure sizing and costs.
  • Times show in your browser's local time.
  • Pin agents to the new version when you activate an agent version, or move every pinned agent at once (Use, move agents, delete). Agents keep searching the version they pin, so a graph built before Studio 2.2.7 gains the improved search only when you build a new version and move its agents to it.