What you’ll build
A board that tracks competitor website source nodes, vectorizes extracted competitor notes, and lets you ask AI to compare positioning across all competitors at once.- Add competitor websites as visual nodes
- Vectorize content for semantic search
- Ask AI to compare positioning and pricing
- Create summary sticky notes linked to sources
Prerequisites
- ChatGrid API key (get one here)
- Node.js 18+ or Python 3.10+
Step 1: Create a board
board_id from the response.
Step 2: Add competitor website nodes
Batch-create a node for each competitor in one request.cURL
Step 3: Vectorize competitor content
Vectorize extracted competitor notes. Thenode_id ties chunks back to the source node.
Step 4: Ask AI to compare positioning
Create a chat thread and ask a cross-competitor question.Step 5: Create summary sticky notes
Turn findings into visual sticky notes on the canvas.cURL
Step 6: Connect findings to sources
Link summary nodes back to the competitors they reference.cURL
Step 7: Search across competitors
Run semantic searches to answer specific questions at any time.cURL
What’s happening under the hood
When you vectorize extracted text, ChatGrid splits it into chunks and generates embeddings stored in pgvector. Each chunk is tagged with thenode_id and metadata you provide, so search results trace back to their source. When AI answers a question, it performs semantic search across all vectorized content on the board and uses the top matches as grounded context. Edges between nodes create a traversable graph from findings back to evidence.
Next steps
Synthesize Documents
Combine PDFs and reports into visual findings
Streaming Responses
Stream AI analysis in real time