dgi.thought-processing ​
Processes user messages using synthetic-thought with skills (DAG)
DAG-based thought processing workflow.
Processes messages using synthetic-thought with skill application.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Dag |
| Library | App-dgi |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
message | string | Yes | — | User's message content |
context | json | No | — | Context for reasoning |
organization_uuid | uuid | No | — | Organization UUID |
conversation_lock | json | No | — | Conversation lock state |
workflow_run_uuid | string | No | — | Engine-injected DAG run id |
workflow_run_id | string | No | — | Engine-stamped DAG step run id (E1) |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
message | string | No | — | — |
context | json | No | — | — |
organization_uuid | uuid | No | — | — |
conversation_lock | json | No | — | — |
workflow_run_uuid | string | No | — | Engine-injected DAG run id |
workflow_run_id | string | No | — | Engine-stamped DAG step run id (E1) |
analyze_intent | json | No | — | — |
synthesize | json | No | — | — |
finalize | json | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
DAG Layers ​
| # | Layer | Steps | Compensation |
|---|---|---|---|
| 1 | analyze_intent | dgi.thought-processing-analyze-intent | — |
| 2 | synthesize | dgi.thought-processing-synthesize | — |
| 3 | finalize | dgi.thought-processing-finalize | — |
Execution Flow ​
Sub-workflows ​
| Sub-workflow | Step name |
|---|---|
dgi.thought-processing-analyze-intent | analyze_intent |
dgi.thought-processing-synthesize | synthesize |
dgi.thought-processing-finalize | finalize |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "dgi.thought-processing",
"initial_data": {
"message": "value"
}
}