AI Document Search with Citations and Pinecone

056a8f6d-c198-4ab1-bd87-2968dce3474c

Latency
1637ms
Cost
$0.0005
Tokens
105
Status
success
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "296a935f-bd02-44bc-9e1e-3e4d6a307e38",
    "timestamp": 1783211413163
  },
  {
    "data": {
      "initialData": {}
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1783211413163
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "296a935f-bd02-44bc-9e1e-3e4d6a307e38",
    "timestamp": 1783211413163
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "61a38c00-f196-4b01-9274-c5e0f4c511bc",
    "timestamp": 1783211413164
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783211413164
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "61a38c00-f196-4b01-9274-c5e0f4c511bc",
    "timestamp": 1783211413164
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "764a865c-7efe-4eec-a34c-cc87c5f085b1",
    "timestamp": 1783211413165
  },
  {
    "data": {
      "kind": "@n8n/n8n-nodes-langchain.chatTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783211413165
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "764a865c-7efe-4eec-a34c-cc87c5f085b1",
    "timestamp": 1783211413165
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "6356bce2-9aae-43ed-97ce-a27cbfb80df9",
    "timestamp": 1783211413165
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783211413165
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "6356bce2-9aae-43ed-97ce-a27cbfb80df9",
    "timestamp": 1783211413165
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "8fb697ea-f2e5-4105-b6c8-ab869c2e5ab2",
    "timestamp": 1783211413166
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783211413166
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783211413166
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 640,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783211413809
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "8fb697ea-f2e5-4105-b6c8-ab869c2e5ab2",
    "timestamp": 1783211413809
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "f2ab813f-0f0c-4d3a-a1de-7896ad736698",
    "timestamp": 1783211413811
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783211413811
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "f2ab813f-0f0c-4d3a-a1de-7896ad736698",
    "timestamp": 1783211413811
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "c501568b-fb49-487d-bced-757e3d7ed13c",
    "timestamp": 1783211413812
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783211413812
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "c501568b-fb49-487d-bced-757e3d7ed13c",
    "timestamp": 1783211413812
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "718f09e0-67be-41a6-a90d-f58e64ffee4d",
    "timestamp": 1783211413813
  },
  {
    "data": {
      "inputKeys": [],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783211413813
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "718f09e0-67be-41a6-a90d-f58e64ffee4d",
    "timestamp": 1783211413813
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "9a2b0152-d008-42cb-bc10-495135d5ef45",
    "timestamp": 1783211413814
  },
  {
    "data": {
      "inputKeys": [],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783211413814
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "9a2b0152-d008-42cb-bc10-495135d5ef45",
    "timestamp": 1783211413814
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "30cd81ad-d658-4c33-9a38-68e33b74cdae",
    "timestamp": 1783211413815
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783211413815
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "30cd81ad-d658-4c33-9a38-68e33b74cdae",
    "timestamp": 1783211413815
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "ab3131d5-4b04-48b4-b5d5-787e3ed18917",
    "timestamp": 1783211413816
  },
  {
    "data": {
      "service": "googleDrive",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783211413816
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleDrive",
      "latencyMs": 250,
      "operation": "download",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211414067
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "ab3131d5-4b04-48b4-b5d5-787e3ed18917",
    "timestamp": 1783211414067
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "1a5511b9-5a24-40d5-a5b1-830376226e4e",
    "timestamp": 1783211414069
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783211414069
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "1a5511b9-5a24-40d5-a5b1-830376226e4e",
    "timestamp": 1783211414069
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "ec7c9407-93c3-47a6-90f2-6e6056f5af84",
    "timestamp": 1783211414069
  },
  {
    "event": "execution error (simulated): Cannot read properties of undefined (reading 'data')",
    "nodeId": "code",
    "timestamp": 1783211414070
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211414070
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "ec7c9407-93c3-47a6-90f2-6e6056f5af84",
    "timestamp": 1783211414070
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "36cd9a8d-7d89-49b3-8a81-baa278201a21",
    "timestamp": 1783211414070
  },
  {
    "event": "execution error (simulated): Cannot read properties of undefined (reading 'pageContent')",
    "nodeId": "code",
    "timestamp": 1783211414071
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "code",
      "latencyMs": 0,
      "operation": "exec-failed",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783211414071
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "36cd9a8d-7d89-49b3-8a81-baa278201a21",
    "timestamp": 1783211414072
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "d8d210cf-f12e-4e82-9b28-f531d2ff14a6",
    "timestamp": 1783211414073
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783211414073
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "d8d210cf-f12e-4e82-9b28-f531d2ff14a6",
    "timestamp": 1783211414073
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "ef357a2b-bc8d-43f7-982f-73c3a85a60be",
    "timestamp": 1783211414075
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783211414075
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783211414075
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.000365,
      "provider": "openai",
      "latencyMs": 722,
      "promptTokens": 70,
      "completionTokens": 19
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783211414797
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "ef357a2b-bc8d-43f7-982f-73c3a85a60be",
    "timestamp": 1783211414797
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "ada2a38b-0f6e-4115-97c0-000e97a5e62e",
    "timestamp": 1783211414798
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783211414798
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "ada2a38b-0f6e-4115-97c0-000e97a5e62e",
    "timestamp": 1783211414798
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "8e115308-532e-4afd-b766-78e54c861f33",
    "timestamp": 1783211414800
  },
  {
    "data": {
      "inputKeys": [
        "text",
        "model",
        "usage"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783211414800
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "8e115308-532e-4afd-b766-78e54c861f33",
    "timestamp": 1783211414800
  }
]