gateway/results/workflows/workflow_22a09037-242e-492b-81e4-8bbc87e16f6e.json
2025-04-16 21:42:26 +02:00

268 lines
No EOL
8.7 KiB
JSON

{
"id": "22a09037-242e-492b-81e4-8bbc87e16f6e",
"mandate_id": 1,
"user_id": 1,
"name": "Workflow 16.4.2025, 01:25:06",
"status": "failed",
"started_at": "2025-04-16T01:25:07.490056",
"last_activity": "2025-04-16T01:25:15.972430",
"prompt": "can you describe the content of this file?",
"messages": [
{
"id": "msg_007cc247-7029-4877-b71e-e5282290e078",
"workflow_id": "22a09037-242e-492b-81e4-8bbc87e16f6e",
"parent_message_id": null,
"started_at": "2025-04-16T01:25:07.531566",
"finished_at": null,
"sequence_no": 1,
"status": "pending",
"role": "user",
"data_stats": {
"processing_time": 0.0,
"token_count": 0,
"bytes_sent": 0,
"bytes_received": 0
},
"documents": [
{
"id": "doc_12c46947-333f-4902-b8eb-215c3a56907e",
"source": {
"type": "file",
"id": "file_60d3488a-ee65-4600-9dec-76d6c9c553a5",
"name": "auszug_liste_positionen.pdf",
"content_type": "application/pdf",
"size": 2,
"upload_date": "2025-04-16T01:25:07.660496"
},
"contents": [
{
"type": "text",
"text": "\n\n",
"is_extracted": true,
"extraction_context": null
}
]
}
],
"content": "can you describe the content of this file?",
"agent_type": null
}
],
"logs": [
{
"id": "log_d23eb838-f7e8-44ce-8a24-797d2bbd197e",
"message": "Starting workflow execution",
"type": "info",
"timestamp": "2025-04-16T01:25:07.499581",
"agent_id": "workflow",
"agent_name": "Workflow Management"
},
{
"id": "log_8afecdda-90bc-4a6b-918b-9da7dfb4304d",
"message": "Processing 1 files",
"type": "info",
"timestamp": "2025-04-16T01:25:07.531566",
"agent_id": "files",
"agent_name": "File Processing"
},
{
"id": "log_78fba539-c9cb-417d-8d3c-c13de9ee996e",
"message": "File auszug_liste_positionen.pdf read successfully (extracted: True)",
"type": "info",
"timestamp": "2025-04-16T01:25:07.627908",
"agent_id": null,
"agent_name": null
},
{
"id": "log_26cb9285-864b-499c-9d24-cbb1cfb548ba",
"message": "User message processed",
"type": "info",
"timestamp": "2025-04-16T01:25:07.819751",
"agent_id": "workflow",
"agent_name": "Workflow Management"
},
{
"id": "log_2870212c-5f72-449f-8904-16ba3bf64564",
"message": "Analyzing task to determine optimal planning approach",
"type": "info",
"timestamp": "2025-04-16T01:25:07.851340",
"agent_id": "planning",
"agent_name": "Activity Planning"
},
{
"id": "log_1a5c27e8-f47b-42b8-bfa0-dc09a4e1d627",
"message": "Task analysis: {\"primaryOperationType\": \"extraction\", \"isUsingExistingData\": true, \"mentionedDocuments\": [\"auszug_liste_positionen.pdf\"], \"expectedOutputFormat\": \"text\", \"involvesDocumentProcessing\": true, \"requiresWebResearch\": false, \"requiresComplexComputation\": false, \"containsPowerOnKeyword\": false}",
"type": "info",
"timestamp": "2025-04-16T01:25:08.779188",
"agent_id": "planning",
"agent_name": "Activity Planning"
},
{
"id": "log_78251459-34e8-446f-82da-48504fab8563",
"message": "Document processing task detected with available documents, using creative agent",
"type": "info",
"timestamp": "2025-04-16T01:25:08.812291",
"agent_id": "planning",
"agent_name": "Activity Planning"
},
{
"id": "log_d918e49b-fd77-44fa-9bfb-5db3414a77ae",
"message": "Created agent-aware work plan with 1 activities",
"type": "info",
"timestamp": "2025-04-16T01:25:08.844287",
"agent_id": "planning",
"agent_name": "Activity Planning"
},
{
"id": "log_0a896b1b-ff6d-4a7e-9eea-bbb4d237dccd",
"message": "Starting activity: Document Processing",
"type": "info",
"timestamp": "2025-04-16T01:25:08.878589",
"agent_id": "execution",
"agent_name": "Activity Execution"
},
{
"id": "log_acac4c27-3d46-406c-b34c-246fa5bfac63",
"message": "Document requirements: All available documents",
"type": "info",
"timestamp": "2025-04-16T01:25:08.913091",
"agent_id": "extraction",
"agent_name": "extraction"
},
{
"id": "log_2b48c576-eb15-4023-bfd1-a48fe6f3f051",
"message": "Found 1 files in workflow",
"type": "info",
"timestamp": "2025-04-16T01:25:08.945104",
"agent_id": "extraction",
"agent_name": "extraction"
},
{
"id": "log_e7a0e4d5-af5c-4e8b-a395-01e158b04492",
"message": "Starting document extraction process",
"type": "info",
"timestamp": "2025-04-16T01:25:08.979171",
"agent_id": "extraction",
"agent_name": "extraction"
},
{
"id": "log_c226f05d-c512-4aca-b57d-805431e39bd3",
"message": "Starting data extraction with 1 files",
"type": "info",
"timestamp": "2025-04-16T01:25:09.011904",
"agent_id": null,
"agent_name": null
},
{
"id": "log_2a024ca1-f0fe-46c1-b176-f9243d57ebfd",
"message": "Creating extraction plan",
"type": "info",
"timestamp": "2025-04-16T01:25:09.042947",
"agent_id": null,
"agent_name": null
},
{
"id": "log_3f4eed3d-b0a1-489a-ad88-21bfe7a037f6",
"message": "Extraktionsplan wird erstellt...",
"type": "info",
"timestamp": "2025-04-16T01:25:09.075301",
"agent_id": null,
"agent_name": null
},
{
"id": "log_dc81edfa-01f4-4efa-901c-7ed9e92d748c",
"message": "Extraktionsplan erstellt für 1 Dateien",
"type": "info",
"timestamp": "2025-04-16T01:25:09.878784",
"agent_id": null,
"agent_name": null
},
{
"id": "log_3553d387-abf1-4da2-9c1e-7ba8ed2d815a",
"message": "Extraction plan created: 1 files, 0 need extraction",
"type": "info",
"timestamp": "2025-04-16T01:25:09.910886",
"agent_id": null,
"agent_name": null
},
{
"id": "log_b82678dc-f6ce-4fc9-a349-13d0945d2837",
"message": "Using document handler for extraction",
"type": "info",
"timestamp": "2025-04-16T01:25:09.941922",
"agent_id": null,
"agent_name": null
},
{
"id": "log_bc114c51-a2d0-46a9-a412-2e180085eb3c",
"message": "Processing file: auszug_liste_positionen.pdf (Extraction needed: False)",
"type": "info",
"timestamp": "2025-04-16T01:25:09.974391",
"agent_id": null,
"agent_name": null
},
{
"id": "log_108c6fa7-078e-4c49-a531-7b4f726258bd",
"message": "Using existing content for auszug_liste_positionen.pdf",
"type": "info",
"timestamp": "2025-04-16T01:25:10.005439",
"agent_id": null,
"agent_name": null
},
{
"id": "log_b5d992b0-ff0a-4392-b67d-c998481abef3",
"message": "Structuring extracted data from 1 files",
"type": "info",
"timestamp": "2025-04-16T01:25:10.038701",
"agent_id": null,
"agent_name": null
},
{
"id": "log_3e62f8db-4b21-4dc9-abaa-ab7845ca988a",
"message": "Creating contextual summaries for extracted content",
"type": "info",
"timestamp": "2025-04-16T01:25:10.069876",
"agent_id": null,
"agent_name": null
},
{
"id": "log_ef7a905d-b2cc-4c9e-8476-b96e41f15e9f",
"message": "Added contextual summaries to extracted data",
"type": "info",
"timestamp": "2025-04-16T01:25:15.875005",
"agent_id": null,
"agent_name": null
},
{
"id": "log_10d77fbb-d189-41bd-94c9-82ad25c1c8f2",
"message": "Extracted content from 1 documents",
"type": "info",
"timestamp": "2025-04-16T01:25:15.907181",
"agent_id": "extraction",
"agent_name": "extraction"
},
{
"id": "log_f77d8488-7633-48fb-87f3-7b4e5c94d66a",
"message": "Document: auszug_liste_positionen.pdf, Method: existing_content, Extracted: True",
"type": "info",
"timestamp": "2025-04-16T01:25:15.939180",
"agent_id": "extraction",
"agent_name": "extraction"
},
{
"id": "log_0d44582e-31fe-496a-8e1f-d08ca54cd754",
"message": "Workflow execution failed: 'WorkflowExecution' object has no attribute 'workflow'",
"type": "error",
"timestamp": "2025-04-16T01:25:15.972430",
"agent_id": "error",
"agent_name": "Error Handling"
}
],
"data_stats": {
"total_processing_time": 9.409621,
"total_token_count": 0,
"total_bytes_sent": 0,
"total_bytes_received": 0
},
"completed_at": "2025-04-16T01:25:16.909202"
}