Context-Aware Document Indexing for Pinecone

39b73b94-f6ed-47ee-93c6-9d239e4b8b14

Latency
4700ms
Cost
$0.0014
Tokens
622
Status
success
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "7abbfa6e-4b17-4656-9b82-377b1bacf539",
    "timestamp": 1782940173785
  },
  {
    "data": {
      "initialData": {
        "data": {
          "split": [
            {
              "text": "This document outlines the process for context-aware document indexing. It leverages AI models to understand the context of documents and store them efficiently in a vector database for retrieval.",
              "metadata": {
                "source": "google_doc_id_12345abcde"
              }
            },
            {
              "text": "The workflow begins by extracting text from a Google Document. This text is then split into manageable sections using a recursive character text splitter.",
              "metadata": {
                "source": "google_doc_id_12345abcde"
              }
            }
          ]
        },
        "output": {
          "concatenated_text": "Introduction: This document outlines the process for context-aware document indexing. It leverages AI models to understand the context of documents and store them efficiently in a vector database for retrieval. The workflow begins by extracting text from a Google Document. This text is then split into manageable sections using a recursive character text splitter."
        },
        "section": "Introduction",
        "document": {
          "id": "google_doc_id_12345abcde",
          "url": "https://docs.google.com/document/d/12345abcde/edit",
          "title": "Context-Aware Document Indexing Guide"
        }
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1782940173785
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "7abbfa6e-4b17-4656-9b82-377b1bacf539",
    "timestamp": 1782940173785
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "f22557ee-7f37-40cd-9063-a9a759274663",
    "timestamp": 1782940173787
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1782940173787
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1782940173787
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.0013128,
      "provider": "openai",
      "latencyMs": 3558,
      "promptTokens": 1,
      "completionTokens": 525
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1782940177346
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "f22557ee-7f37-40cd-9063-a9a759274663",
    "timestamp": 1782940177346
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "0a8c2426-0aaf-424a-b246-336a9034aba8",
    "timestamp": 1782940177351
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782940177351
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "0a8c2426-0aaf-424a-b246-336a9034aba8",
    "timestamp": 1782940177351
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "a82d4e0b-248e-426d-9ef3-f25e7078ceb3",
    "timestamp": 1782940177353
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782940177353
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "a82d4e0b-248e-426d-9ef3-f25e7078ceb3",
    "timestamp": 1782940177353
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "8571b92f-5587-454f-9700-ea04ca35311b",
    "timestamp": 1782940177354
  },
  {
    "data": {
      "service": "googleDrive",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1782940177354
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleDrive",
      "latencyMs": 250,
      "operation": "download",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782940177606
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "8571b92f-5587-454f-9700-ea04ca35311b",
    "timestamp": 1782940177606
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "edc587bd-494d-43e8-b6d6-26adab7af3dc",
    "timestamp": 1782940177612
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782940177612
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "edc587bd-494d-43e8-b6d6-26adab7af3dc",
    "timestamp": 1782940177612
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "2bed3d0f-3d65-4394-87f1-e73320a43a4a",
    "timestamp": 1782940177615
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782940177615
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "2bed3d0f-3d65-4394-87f1-e73320a43a4a",
    "timestamp": 1782940177615
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "837fa691-6c66-434b-ba82-d1cad9aecdf7",
    "timestamp": 1782940177615
  },
  {
    "event": "execution error (simulated): Cannot read properties of undefined (reading 'split')",
    "nodeId": "code",
    "timestamp": 1782940177617
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1782940177617
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "837fa691-6c66-434b-ba82-d1cad9aecdf7",
    "timestamp": 1782940177617
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "cc801e7e-e01b-421a-9211-08322ef8a0b2",
    "timestamp": 1782940177619
  },
  {
    "data": {
      "count": 1
    },
    "event": "splitOut",
    "nodeId": "passthrough",
    "timestamp": 1782940177619
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "cc801e7e-e01b-421a-9211-08322ef8a0b2",
    "timestamp": 1782940177619
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "448ec137-bf64-46b4-bf15-c7a040faa306",
    "timestamp": 1782940177620
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782940177620
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "448ec137-bf64-46b4-bf15-c7a040faa306",
    "timestamp": 1782940177620
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "57e8792e-25ae-43d5-b4e9-e87642365ee9",
    "timestamp": 1782940177622
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1782940177622
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "57e8792e-25ae-43d5-b4e9-e87642365ee9",
    "timestamp": 1782940177622
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "2f6950df-ead1-479a-aa51-7768121a4eb2",
    "timestamp": 1782940177623
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1782940177623
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1782940177623
  },
  {
    "data": {
      "model": "gemini-3-flash-preview",
      "costUsd": 0.00008379999999999999,
      "provider": "openai",
      "latencyMs": 855,
      "promptTokens": 71,
      "completionTokens": 25
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1782940178480
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "2f6950df-ead1-479a-aa51-7768121a4eb2",
    "timestamp": 1782940178480
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "34a465fc-a505-445a-9211-bcd830381354",
    "timestamp": 1782940178485
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1782940178485
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "34a465fc-a505-445a-9211-bcd830381354",
    "timestamp": 1782940178485
  }
]