Skip to content
Proud to collaborate with Microsoft for Startups

dgi.thought-processing-synthesize ​

Synthesize results — calls the org's LLM via ai.chat to produce the final answer

Synthesize results - merge reasoning and skill outputs

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-dgi
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
reasoning_outputjsonNo—Reasoning output
skill_resultsjsonNo—Skill execution results
dag_structuresjsonNo—DAG structures from skills
messagestringNo—Original user message
historyjsonNo—Conversation history slice [{role, content}, …]
organization_uuiduuidNo—Org UUID — propagated so ai.chat can resolve the org's default AIProviderConfig when no connection/provider uuid is supplied
connection_uuiduuidNo—Optional explicit AI CloudConnection UUID; highest precedence in ai.chat resolution
ai_provider_config_uuiduuidNo—Optional AIProviderConfig UUID; second precedence (after connection_uuid). When neither is supplied, ai.chat resolves the org's default AIProviderConfig
system_promptstringNo—Optional system instruction override
modelstringNo—Optional model override
max_tokensintegerNo—Optional max tokens (default 1024)
temperaturejsonNo—Optional temperature (default 0.7)
working_setjsonNo—Conversation Working Set carried from the prior turn (ADR 0001): slots, candidates, in-flight composition
confirmed_actionjsonNo—Resolution of a prior pending_action (drives confirm=true in the reasoning loop)
provided_inputsjsonNo—Values the user filled into a prior pending_input form
chat_conversation_uuiduuidNo—conversation_uuid of the DGI chat session that originated this turn (session-timeline provenance)
intent_analysisjsonNo—Fast/deep gate verdict from analyze_intent:
max_reasoning_turnsintegerNo—Optional tool-loop turn budget for this turn; clamped to [6, 48], default 24
proactivebooleanNo—Proactive mode: ask the model to suggest 2-3 next actions after answering
workflow_run_idstringNo—Engine-stamped DAG step run id

Output Schema ​

FieldTypeRequiredDefaultDescription
reasoning_outputjsonNo——
skill_resultsjsonNo——
dag_structuresjsonNo——
messagestringNo——
historyjsonNo——
organization_uuiduuidNo——
connection_uuiduuidNo——
ai_provider_config_uuiduuidNo——
system_promptstringNo——
modelstringNo——
max_tokensintegerNo——
temperaturejsonNo——
working_setjsonNo——
confirmed_actionjsonNo——
provided_inputsjsonNo——
intent_analysisjsonNo——
max_reasoning_turnsintegerNo——
proactivebooleanNo——
chat_conversation_uuiduuidNo—Originating DGI chat session (session-timeline provenance); carried via **context.state_data
workflow_run_idstringNo——
final_answerstringNo—The user-facing answer
confidencejsonNo—Real confidence {overall: float} computed from the turn's outcome
llm_calledbooleanNo——
model_usedstringNo——
providerstringNo——
input_tokensintegerNo——
output_tokensintegerNo——
actions_takenjsonNo——
reasoning_tracejsonNo——
suggestionsjsonNo—Proactive next-action suggestions [{label, prompt}] emitted via suggest_next_actions
pending_actionjsonNo——
pending_inputjsonNo——
rendererstringNo——
renderjsonNo——
statusstringNo—complete
incomplete_reasonstringNo—When incomplete: turns_exhausted
reasoning_child_workflow_refstringNo—Async child workflow that ran the long reasoning loop
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——
reasoning_statejsonNo——
reasoning_depsjsonNo——
reasoning_seqintegerNo——
reasoning_donebooleanNo——
reasoning_resultjsonNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
waiting_reasoningNoNo———
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutewaiting_reasoning—
waiting_reasoningchild_donecompleted—
waiting_reasoningchild_failedfailed—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "dgi.thought-processing-synthesize",
  "initial_data": {
    "reasoning_output": "value",
    "skill_results": "value",
    "dag_structures": "value",
    "message": "value"
  }
}