Context-Aware Document Indexing for Pinecone

40ac562d-a583-4767-bb96-0c2ef097234f

Latency
4571ms
Cost
$0.0013
Tokens
594
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "7abbfa6e-4b17-4656-9b82-377b1bacf539",
    "timestamp": 1783204676893
  },
  {
    "data": {
      "initialData": {
        "data": {
          "split": "This document outlines the terms and conditions for using our cloud storage service. It covers data privacy, acceptable use, and termination clauses. Please review carefully before proceeding."
        },
        "output": "What are the data retention policies for user data?",
        "section": "Legal",
        "document": {
          "id": "123abc456def",
          "title": "Cloud Storage Service Agreement"
        }
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1783204676893
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "7abbfa6e-4b17-4656-9b82-377b1bacf539",
    "timestamp": 1783204676893
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "f22557ee-7f37-40cd-9063-a9a759274663",
    "timestamp": 1783204676897
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783204676897
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783204676897
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0012328,
      "provider": "openai",
      "latencyMs": 3533,
      "promptTokens": 1,
      "completionTokens": 493
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783204680432
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "f22557ee-7f37-40cd-9063-a9a759274663",
    "timestamp": 1783204680432
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "0a8c2426-0aaf-424a-b246-336a9034aba8",
    "timestamp": 1783204680438
  },
  {
    "data": {
      "simulated": true
    },
    "event": "fixture",
    "nodeId": "passthrough",
    "timestamp": 1783204680438
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "0a8c2426-0aaf-424a-b246-336a9034aba8",
    "timestamp": 1783204680438
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "a82d4e0b-248e-426d-9ef3-f25e7078ceb3",
    "timestamp": 1783204680441
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783204680441
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "a82d4e0b-248e-426d-9ef3-f25e7078ceb3",
    "timestamp": 1783204680441
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "8571b92f-5587-454f-9700-ea04ca35311b",
    "timestamp": 1783204680444
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "googleDrive",
      "latencyMs": 0,
      "operation": "download",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204680444
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "8571b92f-5587-454f-9700-ea04ca35311b",
    "timestamp": 1783204680444
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "edc587bd-494d-43e8-b6d6-26adab7af3dc",
    "timestamp": 1783204680446
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783204680446
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "edc587bd-494d-43e8-b6d6-26adab7af3dc",
    "timestamp": 1783204680446
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "2bed3d0f-3d65-4394-87f1-e73320a43a4a",
    "timestamp": 1783204680449
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783204680449
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "2bed3d0f-3d65-4394-87f1-e73320a43a4a",
    "timestamp": 1783204680449
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "837fa691-6c66-434b-ba82-d1cad9aecdf7",
    "timestamp": 1783204680449
  },
  {
    "event": "execution error (simulated): Cannot read properties of undefined (reading 'split')",
    "nodeId": "code",
    "timestamp": 1783204680452
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783204680452
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "837fa691-6c66-434b-ba82-d1cad9aecdf7",
    "timestamp": 1783204680452
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "cc801e7e-e01b-421a-9211-08322ef8a0b2",
    "timestamp": 1783204680455
  },
  {
    "data": {
      "count": 1
    },
    "event": "splitOut",
    "nodeId": "passthrough",
    "timestamp": 1783204680455
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "cc801e7e-e01b-421a-9211-08322ef8a0b2",
    "timestamp": 1783204680455
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "448ec137-bf64-46b4-bf15-c7a040faa306",
    "timestamp": 1783204680457
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783204680457
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "448ec137-bf64-46b4-bf15-c7a040faa306",
    "timestamp": 1783204680457
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "57e8792e-25ae-43d5-b4e9-e87642365ee9",
    "timestamp": 1783204680459
  },
  {
    "data": {
      "simulated": true
    },
    "event": "fixture",
    "nodeId": "passthrough",
    "timestamp": 1783204680459
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "57e8792e-25ae-43d5-b4e9-e87642365ee9",
    "timestamp": 1783204680459
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "2f6950df-ead1-479a-aa51-7768121a4eb2",
    "timestamp": 1783204680461
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783204680461
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783204680461
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0000938,
      "provider": "openai",
      "latencyMs": 997,
      "promptTokens": 71,
      "completionTokens": 29
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783204681459
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "2f6950df-ead1-479a-aa51-7768121a4eb2",
    "timestamp": 1783204681459
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "34a465fc-a505-445a-9211-bcd830381354",
    "timestamp": 1783204681464
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783204681464
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "34a465fc-a505-445a-9211-bcd830381354",
    "timestamp": 1783204681464
  }
]