AI Context

Every Step Gets
the Right AI.

Not every workflow step needs the same model. RenderDraw lets you configure a different AI provider, model, system prompt, and context injection for every block in your workflow. Complex reasoning on one block, fast extraction on the next, structured generation on the last.

Why It Matters

One Model Cannot
Do Everything Well.

Using the same AI model for every step wastes money on steps that need speed, and sacrifices quality on steps that need deep reasoning. The right architecture uses the best model for each job — and wires them together.

Claude Sonnet Vision

Step 1: Drawing Analysis

Claude Sonnet reads the submitted construction PDF. Its multimodal vision extracts dimensions, counts structural elements, and identifies material symbols. This is what Claude Sonnet does best.

Cost: medium. Quality: best-in-class for vision.
Claude Sonnet

Step 2: Requirement Reasoning

Claude Sonnet reads the extracted data plus the full RFP document (200k context window). It cross-references requirements, identifies gaps, and drafts a structured compliance matrix. This is what Claude does best.

Cost: medium. Quality: best-in-class for long-doc reasoning.
Claude Haiku

Step 3: Formatting

A fast, cheap model reformats the draft into the required template structure. No heavy reasoning required — just reliable instruction-following at scale. Haiku runs this in under 3 seconds.

Cost: low. Quality: sufficient for structured output.
Context Management

What Goes Into
Each AI Block's Context.

Every AI block in RenderDraw has a configurable context window built from four components. You control exactly what each block sees — and what it does not.

  • System prompt — defines the block's role, output format, and constraints. Written once per block.
  • Knowledgebase injection — top-K chunks retrieved via semantic search against your knowledgebase. Always current at runtime.
  • Conversation history — optionally pass the output of prior blocks as context. Maintains reasoning chain across steps.
  • Input document — the current workflow input (RFP text, drawing extraction, RFI content).
Full Configuration Reference
AI Block — Context Composition
{
  model: "selected-long-context-model",
  system: "You are an RFP analyst...",

  context: [
    {
      type: "knowledgebase",
      id: "rfp-library-2024",
      topK: 5,
      threshold: 0.72
    },
    {
      type: "prior_block_output",
      blockId: "drawing-analysis",
      format: "json"
    }
  ],

  input: workflow.currentDocument,
  maxTokens: 8192,
  temperature: 0.2
}
AI Providers

Two Leading Providers.
Configured Per Block.

Anthropic Claude

Claude Sonnet · Haiku · Opus

Best for: long-document analysis (200k context), complex reasoning, nuanced drafting, multi-step instruction following. Powers RFP analysis, contract review, and compliance matrix generation.

  • Claude Sonnet 4.6 — balanced reasoning + speed
  • Claude Haiku 4.5 — fastest, lowest cost
  • Claude Opus 4.7 — deepest reasoning
Claude Integration Guide →
OpenAI

Multimodal · Fast · Reasoning

Best for: vision and multimodal tasks, structured data extraction from images, fast text completion. Powers takeoff automation (image analysis of 2D drawings) and fast formatting steps.

  • Multimodal models — vision plus structured extraction
  • Fast models — economical classification and formatting
  • Reasoning models — advanced multi-step analysis
OpenAI Integration Guide →
Knowledgebase Context

Your Company's Knowledge.
Injected at Runtime.

When an AI block runs, it does not only see the current document. It also sees the most relevant chunks from your knowledgebase — your past proposals, product specs, pricing sheets, and technical documentation — retrieved via semantic search at the moment of execution.

This is what prevents hallucination. The model is not guessing. It is drawing on your real institutional knowledge, retrieved and injected into the context automatically.

Knowledgebases →
Runtime Context Injection
context.query({
  knowledgebase: "rfp-library-2024",
  query: extractedRequirements,
  topK: 5,
  threshold: 0.72,
  includeSource: true
})

5 relevant chunks retrieved from past proposals. Injecting 3,840 tokens of context into the selected AI block.

AI Context Deep Dives

Configure the Right AI
for Every Step.

Open RenderDraw, add an AI block, and connect Claude, OpenAI, Gemini, or a custom model endpoint to your workflow in minutes.