RAG Chatbot for Google Drive Documents

8497743d-0b80-401a-98cf-0cd573a53654

Latency
1625ms
Cost
$0.0002
Tokens
32
Status
success
gpt-4o-mini

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "1323d520-1528-4a5a-9806-8f4f45306098",
    "timestamp": 1783209133833
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783209133833
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "1323d520-1528-4a5a-9806-8f4f45306098",
    "timestamp": 1783209133833
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "796b155a-64e6-4a52-9168-a37c68077d99",
    "timestamp": 1783209133835
  },
  {
    "data": {
      "simulated": true
    },
    "event": "fixture",
    "nodeId": "passthrough",
    "timestamp": 1783209133835
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "796b155a-64e6-4a52-9168-a37c68077d99",
    "timestamp": 1783209133835
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "516507f9-d0d9-4975-85d0-a7852ee41518",
    "timestamp": 1783209133837
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783209133837
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783209133837
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 781,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783209134619
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "516507f9-d0d9-4975-85d0-a7852ee41518",
    "timestamp": 1783209134619
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "8b0a5d26-a60a-40ab-8200-72f542532096",
    "timestamp": 1783209134624
  },
  {
    "data": {
      "simulated": true
    },
    "event": "fixture",
    "nodeId": "passthrough",
    "timestamp": 1783209134624
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "8b0a5d26-a60a-40ab-8200-72f542532096",
    "timestamp": 1783209134624
  },
  {
    "data": {
      "nodeType": "trigger"
    },
    "event": "node_start",
    "nodeId": "c358aa73-b60f-453f-a3ef-539faa98c9b5",
    "timestamp": 1783209134627
  },
  {
    "data": {
      "kind": "@n8n/n8n-nodes-langchain.chatTrigger"
    },
    "event": "seeded",
    "nodeId": "trigger",
    "timestamp": 1783209134627
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "trigger"
    },
    "event": "node_end",
    "nodeId": "c358aa73-b60f-453f-a3ef-539faa98c9b5",
    "timestamp": 1783209134627
  },
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "d35db9e1-4efc-4980-9814-55fbe65e08fd",
    "timestamp": 1783209134628
  },
  {
    "data": {
      "initialData": {
        "googleDriveFileUrl": "https://docs.google.com/document/d/1abc123def456ghi789jkl012mno345pqr678stu901vwx/edit?usp=sharing"
      }
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1783209134628
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "d35db9e1-4efc-4980-9814-55fbe65e08fd",
    "timestamp": 1783209134628
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "53b18460-8ad6-425a-a01f-c2295cfddde8",
    "timestamp": 1783209134630
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1783209134630
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "53b18460-8ad6-425a-a01f-c2295cfddde8",
    "timestamp": 1783209134630
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "0777de17-99a0-499a-b71f-245d5f76642e",
    "timestamp": 1783209134631
  },
  {
    "data": {
      "simulated": true
    },
    "event": "fixture",
    "nodeId": "passthrough",
    "timestamp": 1783209134631
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "0777de17-99a0-499a-b71f-245d5f76642e",
    "timestamp": 1783209134631
  },
  {
    "data": {
      "nodeType": "set"
    },
    "event": "node_start",
    "nodeId": "4c04f576-e834-467d-98b4-38a2d501d82f",
    "timestamp": 1783209134632
  },
  {
    "data": {
      "inputKeys": [
        "googleDriveFileUrl"
      ],
      "mergeKeys": []
    },
    "event": "merged",
    "nodeId": "set",
    "timestamp": 1783209134632
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "set"
    },
    "event": "node_end",
    "nodeId": "4c04f576-e834-467d-98b4-38a2d501d82f",
    "timestamp": 1783209134632
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "07f61d20-cf50-48e8-9d34-92244af436cb",
    "timestamp": 1783209134634
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "fixture": true,
      "service": "retrievervectorstore",
      "latencyMs": 0,
      "operation": "run",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783209134634
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "07f61d20-cf50-48e8-9d34-92244af436cb",
    "timestamp": 1783209134634
  },
  {
    "data": {
      "nodeType": "integration"
    },
    "event": "node_start",
    "nodeId": "40bb5497-d1d2-4eb7-b683-78b88c8d9230",
    "timestamp": 1783209134635
  },
  {
    "data": {
      "service": "googleDrive",
      "resolved": false
    },
    "event": "credential_access",
    "nodeId": "_context",
    "timestamp": 1783209134635
  },
  {
    "data": {
      "mode": "read",
      "status": "ok",
      "service": "googleDrive",
      "latencyMs": 250,
      "operation": "download",
      "simulated": true
    },
    "event": "integration_mocked",
    "nodeId": "integration",
    "timestamp": 1783209134888
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "integration"
    },
    "event": "node_end",
    "nodeId": "40bb5497-d1d2-4eb7-b683-78b88c8d9230",
    "timestamp": 1783209134888
  },
  {
    "data": {
      "nodeType": "llm"
    },
    "event": "node_start",
    "nodeId": "3e17c89c-620d-4892-b944-d792e48e3772",
    "timestamp": 1783209134892
  },
  {
    "data": {
      "messages": 1,
      "maxTokens": 1024
    },
    "event": "calling openai/gpt-4o-mini",
    "nodeId": "llm",
    "timestamp": 1783209134892
  },
  {
    "data": {
      "model": "gpt-4o-mini",
      "provider": "openai"
    },
    "event": "llm_call",
    "nodeId": "_context",
    "timestamp": 1783209134892
  },
  {
    "data": {
      "model": "gpt-4o-mini-2024-07-18",
      "costUsd": 0.0001075,
      "provider": "openai",
      "latencyMs": 549,
      "promptTokens": 7,
      "completionTokens": 9
    },
    "event": "llm_result",
    "nodeId": "_context",
    "timestamp": 1783209135453
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "llm"
    },
    "event": "node_end",
    "nodeId": "3e17c89c-620d-4892-b944-d792e48e3772",
    "timestamp": 1783209135453
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "cc5e6897-9d0b-4352-a882-5dc23104bf97",
    "timestamp": 1783209135458
  },
  {
    "data": {
      "simulated": true
    },
    "event": "fixture",
    "nodeId": "passthrough",
    "timestamp": 1783209135458
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "cc5e6897-9d0b-4352-a882-5dc23104bf97",
    "timestamp": 1783209135458
  }
]