Natural Language to SQL Query Generator

b23cfda9-d728-4ff5-ab71-5b0d57fdbc91

Latency
1312ms
Cost
$0.0004
Tokens
198
Status
success
gemini-2.5-flash

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "n0",
    "timestamp": 1780344105924
  },
  {
    "data": {
      "initialData": {
        "schema": "customers(id,name), orders(id,customer_id,amount,created_at)",
        "question": "Top 5 customers by total spend last quarter"
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1780344105924
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "n0",
    "timestamp": 1780344105924
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "n1",
    "timestamp": 1780344105924
  },
  {
    "data": {
      "messages": 2,
      "maxTokens": 160
    },
    "event": "calling google/gemini-2.5-flash",
    "nodeId": "llm",
    "timestamp": 1780344105924
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "provider": "google"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1780344105924
  },
  {
    "data": {
      "model": "gemini-2.5-flash",
      "costUsd": 0.0003982,
      "provider": "google",
      "latencyMs": 1312,
      "promptTokens": 44,
      "completionTokens": 154
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1780344107237
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "n1",
    "timestamp": 1780344107237
  }
]