Local File RAG Chatbot with Mistral AI
c92c03fb-b833-4bf8-b569-a634358cbe8b
Latency
51613ms
Cost
$0.0000
Tokens
0
Status
partialgemini-2.5-flash
Workflow Graph
Trace
[
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "c5525f47-4d91-4b98-87bb-566b90da64a1",
"timestamp": 1783211466935
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "localfiletrigger",
"latencyMs": 250,
"operation": "run",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783211467187
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "c5525f47-4d91-4b98-87bb-566b90da64a1",
"timestamp": 1783211467187
},
{
"data": {
"nodeType": "manualTrigger"
},
"event": "node_start",
"nodeId": "804334d6-e34d-40d1-9555-b331ffe66f6f",
"timestamp": 1783211467189
},
{
"data": {
"initialData": {
"q": "What are the main advantages of renewable energy?",
"data": "This is the content of the sample document. It discusses the benefits of using renewable energy sources like solar and wind power. It also touches upon the challenges of grid integration and energy storage solutions. The document highlights the economic advantages and environmental impact reduction associated with adopting these technologies.",
"path": "/path/to/your/local/documents/",
"event": "file_added",
"result": {
"points": [
{
"id": "doc1_chunk1",
"payload": {
"content": "Renewable energy sources like solar and wind power offer significant environmental benefits.",
"metadata": {
"source": "sample_document.txt",
"chunk_id": "doc1_chunk1"
}
}
},
{
"id": "doc1_chunk2",
"payload": {
"content": "Challenges in grid integration and energy storage are key considerations for widespread adoption.",
"metadata": {
"source": "sample_document.txt",
"chunk_id": "doc1_chunk2"
}
}
}
],
"points_map": {
"doc1_chunk1": {
"id": "doc1_chunk1",
"payload": {
"content": "Renewable energy sources like solar and wind power offer significant environmental benefits.",
"metadata": {
"source": "sample_document.txt",
"chunk_id": "doc1_chunk1"
}
}
},
"doc1_chunk2": {
"id": "doc1_chunk2",
"payload": {
"content": "Challenges in grid integration and energy storage are key considerations for widespread adoption.",
"metadata": {
"source": "sample_document.txt",
"chunk_id": "doc1_chunk2"
}
}
}
}
},
"fileName": "sample_document.txt",
"directory": "/path/to/your/local/documents/",
"file_added": true,
"file_changed": false,
"file_deleted": false,
"file_location": "/path/to/your/local/documents/sample_document.txt",
"qdrant_collection": "rag_documents"
}
},
"event": "triggered",
"nodeId": "manualTrigger",
"timestamp": 1783211467189
},
{
"data": {
"status": "ok",
"nodeType": "manualTrigger"
},
"event": "node_end",
"nodeId": "804334d6-e34d-40d1-9555-b331ffe66f6f",
"timestamp": 1783211467189
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "7354a080-051b-479f-97b1-49cc0c14c9d8",
"timestamp": 1783211467190
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "embeddingsmistralcloud",
"latencyMs": 250,
"operation": "run",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783211467441
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "7354a080-051b-479f-97b1-49cc0c14c9d8",
"timestamp": 1783211467441
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "0b0e29b9-8873-4074-94dc-9f0364c28835",
"timestamp": 1783211467443
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1783211467443
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "0b0e29b9-8873-4074-94dc-9f0364c28835",
"timestamp": 1783211467443
},
{
"data": {
"nodeType": "trigger"
},
"event": "node_start",
"nodeId": "ffe8c363-0809-4d21-aa8f-34b0fc2dc57f",
"timestamp": 1783211467444
},
{
"data": {
"kind": "@n8n/n8n-nodes-langchain.chatTrigger"
},
"event": "seeded",
"nodeId": "trigger",
"timestamp": 1783211467444
},
{
"data": {
"status": "ok",
"nodeType": "trigger"
},
"event": "node_end",
"nodeId": "ffe8c363-0809-4d21-aa8f-34b0fc2dc57f",
"timestamp": 1783211467444
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "f143e438-8176-4923-a866-3f9a2a16793d",
"timestamp": 1783211467445
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/mistral-small-2402",
"nodeId": "llm",
"timestamp": 1783211467445
},
{
"data": {
"model": "mistral-small-2402",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783211467445
},
{
"data": {
"error": "Google Gemini API error (500): {\n \"error\": {\n \"code\": 500,\n \"message\": \"An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting\",\n \"status\": \"INTERNAL\"\n }\n}\n",
"status": "error",
"degraded": true,
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "f143e438-8176-4923-a866-3f9a2a16793d",
"timestamp": 1783211492729
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "2fdabcb5-a7a7-4e02-8c1b-9190e2e52385",
"timestamp": 1783211492731
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "embeddingsmistralcloud",
"latencyMs": 250,
"operation": "run",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783211492982
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "2fdabcb5-a7a7-4e02-8c1b-9190e2e52385",
"timestamp": 1783211492982
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "7ab0e284-b667-4d1f-8ceb-fb05e4081a06",
"timestamp": 1783211492983
},
{
"data": {
"inputKeys": [
"simulated",
"echo",
"items"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1783211492983
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "7ab0e284-b667-4d1f-8ceb-fb05e4081a06",
"timestamp": 1783211492983
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "a1ad45ff-a882-4aed-82e2-cad2483cf4e8",
"timestamp": 1783211492984
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1783211492984
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "a1ad45ff-a882-4aed-82e2-cad2483cf4e8",
"timestamp": 1783211492984
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "1857bebb-b492-415e-96c8-235329bfd28a",
"timestamp": 1783211492985
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1783211492985
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "1857bebb-b492-415e-96c8-235329bfd28a",
"timestamp": 1783211492985
},
{
"data": {
"nodeType": "switch"
},
"event": "node_start",
"nodeId": "2d6fb29c-2fac-41de-9ad0-cc781b246378",
"timestamp": 1783211492987
},
{
"event": "matched rule 0 -> file_deleted",
"nodeId": "switch",
"timestamp": 1783211492987
},
{
"data": {
"status": "ok",
"nodeType": "switch"
},
"event": "node_end",
"nodeId": "2d6fb29c-2fac-41de-9ad0-cc781b246378",
"timestamp": 1783211492987
},
{
"data": {
"nodeType": "integration"
},
"event": "node_start",
"nodeId": "06dd8f4c-3b66-43e0-85c8-ec222e275f87",
"timestamp": 1783211492988
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "retrievervectorstore",
"latencyMs": 250,
"operation": "run",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783211493239
},
{
"data": {
"status": "ok",
"nodeType": "integration"
},
"event": "node_end",
"nodeId": "06dd8f4c-3b66-43e0-85c8-ec222e275f87",
"timestamp": 1783211493239
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "1fd14832-aafe-4d72-b4f2-7afc72df97dc",
"timestamp": 1783211493241
},
{
"event": "fetching POST http://qdrant:6333/collections//points/scroll",
"nodeId": "http",
"timestamp": 1783211493241
},
{
"data": {
"url": "http://qdrant:6333/collections//points/scroll",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1783211493241
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783211493245
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "1fd14832-aafe-4d72-b4f2-7afc72df97dc",
"timestamp": 1783211493245
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "5408adfe-4d6b-407c-aac7-e87c9b1a1592",
"timestamp": 1783211493246
},
{
"event": "fetching POST http://qdrant:6333/collections//points/scroll",
"nodeId": "http",
"timestamp": 1783211493246
},
{
"data": {
"url": "http://qdrant:6333/collections//points/scroll",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1783211493246
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783211493249
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "5408adfe-4d6b-407c-aac7-e87c9b1a1592",
"timestamp": 1783211493249
},
{
"data": {
"nodeType": "llm"
},
"event": "node_start",
"nodeId": "8d958669-60be-4bb2-80fc-2a6c7c7bfae6",
"timestamp": 1783211493251
},
{
"data": {
"messages": 1,
"maxTokens": 1024
},
"event": "calling openai/gpt-4o-mini",
"nodeId": "llm",
"timestamp": 1783211493251
},
{
"data": {
"model": "gpt-4o-mini",
"provider": "openai"
},
"event": "llm_call",
"nodeId": "_context",
"timestamp": 1783211493251
},
{
"data": {
"error": "Google Gemini API error (500): {\n \"error\": {\n \"code\": 500,\n \"message\": \"An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting\",\n \"status\": \"INTERNAL\"\n }\n}\n",
"status": "error",
"degraded": true,
"nodeType": "llm"
},
"event": "node_end",
"nodeId": "8d958669-60be-4bb2-80fc-2a6c7c7bfae6",
"timestamp": 1783211518531
},
{
"data": {
"nodeType": "if"
},
"event": "node_start",
"nodeId": "b5fa817f-82d6-41dd-9817-4c1dd9137b76",
"timestamp": 1783211518532
},
{
"event": "true branch",
"nodeId": "if",
"timestamp": 1783211518532
},
{
"data": {
"status": "ok",
"nodeType": "if"
},
"event": "node_end",
"nodeId": "b5fa817f-82d6-41dd-9817-4c1dd9137b76",
"timestamp": 1783211518532
},
{
"data": {
"nodeType": "if"
},
"event": "node_start",
"nodeId": "fac43587-0d24-4d6e-a0d5-8cc8f9615967",
"timestamp": 1783211518534
},
{
"event": "true branch",
"nodeId": "if",
"timestamp": 1783211518534
},
{
"data": {
"status": "ok",
"nodeType": "if"
},
"event": "node_end",
"nodeId": "fac43587-0d24-4d6e-a0d5-8cc8f9615967",
"timestamp": 1783211518534
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "010baacd-fac1-4cc1-86bf-9d6ef11916fe",
"timestamp": 1783211518535
},
{
"event": "fetching POST http://qdrant:6333/collections//points/delete",
"nodeId": "http",
"timestamp": 1783211518535
},
{
"data": {
"url": "http://qdrant:6333/collections//points/delete",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1783211518535
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783211518539
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "010baacd-fac1-4cc1-86bf-9d6ef11916fe",
"timestamp": 1783211518539
},
{
"data": {
"nodeType": "http"
},
"event": "node_start",
"nodeId": "b0fa4fa4-5d1b-4a12-b8ba-a10d71f31f94",
"timestamp": 1783211518540
},
{
"event": "fetching POST http://qdrant:6333/collections//points/delete",
"nodeId": "http",
"timestamp": 1783211518540
},
{
"data": {
"url": "http://qdrant:6333/collections//points/delete",
"method": "POST"
},
"event": "http_fetch",
"nodeId": "_context",
"timestamp": 1783211518540
},
{
"data": {
"mode": "read",
"status": "ok",
"service": "http",
"latencyMs": 250,
"operation": "fetch-failed",
"simulated": true
},
"event": "integration_mocked",
"nodeId": "integration",
"timestamp": 1783211518543
},
{
"data": {
"status": "ok",
"nodeType": "http"
},
"event": "node_end",
"nodeId": "b0fa4fa4-5d1b-4a12-b8ba-a10d71f31f94",
"timestamp": 1783211518543
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "e5664534-de07-481f-87dd-68d7d0715baa",
"timestamp": 1783211518545
},
{
"data": {
"inputKeys": [
"statusCode",
"headers",
"body",
"simulated"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1783211518545
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "e5664534-de07-481f-87dd-68d7d0715baa",
"timestamp": 1783211518545
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "f82f6de0-af8f-4fdf-a733-f59ba4fed02f",
"timestamp": 1783211518546
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1783211518546
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "f82f6de0-af8f-4fdf-a733-f59ba4fed02f",
"timestamp": 1783211518546
},
{
"data": {
"nodeType": "set"
},
"event": "node_start",
"nodeId": "c0555ba6-a1bd-4aa9-a340-a9c617f8e6db",
"timestamp": 1783211518547
},
{
"data": {
"inputKeys": [
"simulated",
"echo",
"items"
],
"mergeKeys": []
},
"event": "merged",
"nodeId": "set",
"timestamp": 1783211518547
},
{
"data": {
"status": "ok",
"nodeType": "set"
},
"event": "node_end",
"nodeId": "c0555ba6-a1bd-4aa9-a340-a9c617f8e6db",
"timestamp": 1783211518547
},
{
"data": {
"nodeType": "passthrough"
},
"event": "node_start",
"nodeId": "7b29b0b9-ffee-4456-b036-9b39400d2b31",
"timestamp": 1783211518548
},
{
"data": {},
"event": "noOp",
"nodeId": "passthrough",
"timestamp": 1783211518548
},
{
"data": {
"status": "ok",
"nodeType": "passthrough"
},
"event": "node_end",
"nodeId": "7b29b0b9-ffee-4456-b036-9b39400d2b31",
"timestamp": 1783211518548
}
]