Skip to main content

What you’ll build

A structured research pipeline that creates multiple source nodes, vectorizes extracted source text, and produces an AI-synthesized report with edges linking conclusions back to source material.
  • Batch-create 5+ source nodes in one API call
  • Vectorize extracted source text for semantic search
  • AI-generated synthesis across all sources
  • Edges connecting findings to their source nodes

Prerequisites

  • ChatGrid API key (get one here)
  • Node.js 18+ or Python 3.10+

Step 1: Create a research board

Step 2: Batch-create source nodes

Use the batch endpoint to add multiple source nodes in one call — faster and atomic.
Save the node IDs from the individual node creation responses if you need to connect findings back to sources later.

Step 3: Vectorize all sources

Vectorize extracted source text so AI can search across it semantically. Run calls in parallel for speed.
Vectorization runs asynchronously. For large sources, allow 10-30 seconds before querying.

Step 4: Ask AI to synthesize across sources

Create a chat and ask AI for a structured synthesis. It searches all vectorized content before responding.
Save the synthesis as a notepad, then create edges connecting it to each source for traceability.

What’s happening under the hood

The batch endpoint creates all source nodes in a single database transaction. Vectorization runs in parallel on the text you provide, chunks it into searchable segments, and embeds it using pgvector. When AI generates the synthesis, it performs a semantic search across those chunks, retrieves the most relevant passages, and generates a grounded response with citations. Edges are stored as first-class graph relationships, so anyone viewing the board can visually trace a finding back to its original source.

Next steps

Client Onboarding

Auto-generate knowledge boards for new clients

Sales Deal Room

Build deal rooms with competitive positioning