File size: 1,626 Bytes
6ab271c | 1 | {"schema_version": "2", "name": "GLM-5.3 Chat Workflow", "references": [{"id": "ref_prompt", "label": "Prompt", "role": "reference", "asset_type": "text", "inputs": [{"id": "in", "label": "Text", "type": "text"}], "outputs": [{"id": "out", "label": "Text", "type": "text"}], "data": {"out": ""}, "width": 200}, {"id": "ref_system", "label": "System Prompt", "role": "reference", "asset_type": "text", "inputs": [{"id": "in", "label": "Text", "type": "text"}], "outputs": [{"id": "out", "label": "Text", "type": "text"}], "data": {"out": "You are a helpful assistant."}, "width": 200}], "operators": [{"id": "op_glm", "label": "GLM-5.3 Chat", "role": "operator", "kind": "fn", "fn": "GLM-5.3 Chat", "inputs": [{"id": "prompt", "label": "Prompt", "type": "text", "required": true}, {"id": "system_prompt", "label": "System Prompt", "type": "text"}], "outputs": [{"id": "out_0", "label": "Response", "type": "text", "output_index": 0}], "data": {}, "width": 200}], "subjects": [{"id": "sub_response", "label": "Response", "role": "subject", "asset_type": "text", "inputs": [{"id": "in", "label": "Text", "type": "text"}], "outputs": [{"id": "out", "label": "Text", "type": "text"}], "data": {"in": ""}, "width": 200}], "edges": [{"id": "e1", "from_node_id": "ref_prompt", "from_port_id": "out", "to_node_id": "op_glm", "to_port_id": "prompt", "type": "text"}, {"id": "e2", "from_node_id": "ref_system", "from_port_id": "out", "to_node_id": "op_glm", "to_port_id": "system_prompt", "type": "text"}, {"id": "e3", "from_node_id": "op_glm", "from_port_id": "out_0", "to_node_id": "sub_response", "to_port_id": "in", "type": "text"}]} |