support API to get node-executions of workflow #12421

Closed
opened 2026-02-21 19:07:19 -05:00 by yindo · 2 comments
Owner

Originally created by @HuangXiaomeng on GitHub (Mar 31, 2025).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

I see there is no api to get node-executions of workflow and below is demo from console

{
    "data": [
        {
            "id": "21baab86-8b13-4b5c-a87d-cf95d7a0db21",
            "index": 9,
            "predecessor_node_id": "1717917057450",
            "node_id": "1711068257370",
            "node_type": "end",
            "title": "End",
            "inputs": {
                "final": "\u4f60\u6765\u81ea\u54ea\u91cc\uff1f"
            },
            "process_data": null,
            "outputs": {
                "final": "\u4f60\u6765\u81ea\u54ea\u91cc\uff1f"
            },
            "status": "succeeded",
            "error": null,
            "elapsed_time": 0.022987,
            "execution_metadata": null,
            "extras": {},
            "created_at": 1743475248,
            "created_by_role": "account",
            "created_by_account": {
                "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583",
                "name": "xueren",
                "email": "4159xxx@qq.com"
            },
            "created_by_end_user": null,
            "finished_at": 1743475248
        },
        {
            "id": "2eb6839e-77b7-4e0a-891c-38b23887f162",
            "index": 8,
            "predecessor_node_id": "1717916955547",
            "node_id": "1717917057450",
            "node_type": "template-transform",
            "title": "Template",
            "inputs": {
                "translated_text": [
                    "\u4f60\u6765\u81ea\u54ea\u91cc\uff1f"
                ]
            },
            "process_data": null,
            "outputs": {
                "output": "\u4f60\u6765\u81ea\u54ea\u91cc\uff1f"
            },
            "status": "succeeded",
            "error": null,
            "elapsed_time": 0.135072,
            "execution_metadata": null,
            "extras": {},
            "created_at": 1743475248,
            "created_by_role": "account",
            "created_by_account": {
                "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583",
                "name": "xueren",
                "email": "4159xxx@qq.com"
            },
            "created_by_end_user": null,
            "finished_at": 1743475248
        },
        {
            "id": "8561cada-e507-4072-a409-c025f8536c97",
            "index": 7,
            "predecessor_node_id": "1717916984996",
            "node_id": "1717916991709",
            "node_type": "llm",
            "title": "2nd Translation ",
            "inputs": null,
            "process_data": {
                "model_mode": "chat",
                "prompts": [
                    {
                        "role": "system",
                        "text": "<Task>\nBased on the results of the direct translation in the first step and the problems identified in the second step, re-translate to achieve a meaning-based interpretation. Ensure the original intent of the content is preserved while making it easier to understand and more in line with Chinese expression habits. All the while maintaining the original format unchanged. \n\n<Guidance>\n- inconsistent with chinese expression habits, clearly indicate where it does not conform\n- Clumsy sentences, specify the location, no need to offer suggestions for modification, which will be fixed during free translation\n- Obscure and difficult to understand, attempts to explain may be made\n- \u65e0\u6f0f\u8bd1\uff08\u539f\u2f42\u4e2d\u7684\u5173\u952e\u8bcd\u3001\u53e5\u2f26\u3001\u6bb5\u843d\u90fd\u5e94\u4f53\u73b0\u5728\u8bd1\u2f42\u4e2d\uff09\u3002\n- \u2f46\u9519\u8bd1\uff08\u770b\u9519\u539f\u2f42\u3001\u8bef\u89e3\u539f\u2f42\u610f\u601d\u5747\u7b97\u9519\u8bd1\uff09\u3002\n- \u2f46\u6709\u610f\u589e\u52a0\u6216\u8005\u5220\u51cf\u7684\u539f\u2f42\u5185\u5bb9\uff08\u7ffb\u8bd1\u5e76\u2fae\u521b\u4f5c\uff0c\u9700\u5c0a\u91cd\u4f5c\u8005\u89c2 \u70b9\uff1b\u53ef\u4ee5\u9002\u5f53\u52a0\u8bd1\u8005\u6ce8\u8bf4\u660e\uff09\u3002\n- \u8bd1\u2f42\u6d41\u7545\uff0c\u7b26\u5408\u4e2d\u2f42\u8868\u8fbe\u4e60\u60ef\u3002\n- \u5173\u4e8e\u2f08\u540d\u7684\u7ffb\u8bd1\u3002\u6280\u672f\u56fe\u4e66\u4e2d\u7684\u2f08\u540d\u901a\u5e38\u4e0d\u7ffb\u8bd1\uff0c\u4f46\u662f\u2f00\u4e9b\u4f17\u6240 \u5468\u77e5\u7684\u2f08\u540d\u9700\u2f64\u4e2d\u2f42\uff08\u5982\u4e54\u5e03\u65af\uff09\u3002\n- \u5173\u4e8e\u4e66\u540d\u7684\u7ffb\u8bd1\u3002\u6709\u4e2d\u2f42\u7248\u7684\u56fe\u4e66\uff0c\u8bf7\u2f64\u4e2d\u2f42\u7248\u4e66\u540d\uff1b\u2f46\u4e2d\u2f42\u7248 \u7684\u56fe\u4e66\uff0c\u76f4\u63a5\u2f64\u82f1\u2f42\u4e66\u540d\u3002\n- \u5173\u4e8e\u56fe\u8868\u7684\u7ffb\u8bd1\u3002\u8868\u683c\u4e2d\u7684\u8868\u9898\u3001\u8868\u5b57\u548c\u6ce8\u89e3\u7b49\u5747\u9700\u7ffb\u8bd1\u3002\u56fe\u9898 \u9700\u8981\u7ffb\u8bd1\u3002\u754c\u2faf\u622a\u56fe\u4e0d\u9700\u8981\u7ffb\u8bd1\u56fe\u5b57\u3002\u89e3\u91ca\u6027\u56fe\u9700\u8981\u6309\u7167\u4e2d\u82f1\u2f42 \u5bf9\u7167\u683c\u5f0f\u7ed9\u51fa\u56fe\u5b57\u7ffb\u8bd1\u3002\n- \u5173\u4e8e\u82f1\u2f42\u672f\u8bed\u7684\u8868\u8ff0\u3002\u82f1\u2f42\u672f\u8bed\u2fb8\u6b21\u51fa\u73b0\u65f6\uff0c\u5e94\u8be5\u6839\u636e\u8be5\u672f\u8bed\u7684 \u6d41\u2f8f\u60c5\u51b5\uff0c\u4f18\u5148\u4f7f\u2f64\u7b80\u5199\u5f62\u5f0f\uff0c\u5e76\u5728\u5176\u540e\u4f7f\u2f64\u62ec\u53f7\u52a0\u82f1\u2f42\u3001\u4e2d\u2f42 \u5168\u79f0\u6ce8\u89e3\uff0c\u683c\u5f0f\u4e3a\uff08\u4e3e\u4f8b\uff09\uff1aHTML\uff08Hypertext Markup Language\uff0c\u8d85\u2f42\u672c\u6807\u8bc6\u8bed\u2f94\uff09\u3002\u7136\u540e\u5728\u4e0b\u2f42\u4e2d\u76f4\u63a5\u4f7f\u2f64\u7b80\u5199\u5f62 \u5f0f\u3002\u5f53\u7136\uff0c\u5fc5\u8981\u65f6\u4e5f\u53ef\u4ee5\u6839\u636e\u8bed\u5883\u4f7f\u2f64\u4e2d\u3001\u82f1\u2f42\u5168\u79f0\u3002\n- \u5173\u4e8e\u4ee3\u7801\u6e05\u5355\u548c\u4ee3\u7801\u2f5a\u6bb5\u3002\u539f\u4e66\u4e2d\u5305\u542b\u7684\u7a0b\u5e8f\u4ee3\u7801\u4e0d\u8981\u6c42\u8bd1\u8005\u5f55 \u2f0a\uff0c\u4f46\u5e94\u8be5\u4f7f\u2f64\u201c\u539f\u4e66P99\u2eda\u4ee3\u78011\u201d\uff08\u5373\u539f\u4e66\u7b2c99\u2eda\u4e2d\u7684\u7b2c\u2f00\u6bb5\u4ee3 \u7801\uff09\u7684\u683c\u5f0f\u4f5c\u51fa\u6807\u6ce8\u3002\u540c\u65f6\uff0c\u8bd1\u8005\u5e94\u8be5\u5728\u6709\u6761\u4ef6\u7684\u60c5\u51b5\u4e0b\u68c0\u6838\u4ee3 \u7801\u7684\u6b63\u786e\u6027\uff0c\u5bf9\u53d1\u73b0\u7684\u9519\u8bef\u4ee5\u8bd1\u8005\u6ce8\u5f62\u5f0f\u8bf4\u660e\u3002\u7a0b\u5e8f\u4ee3\u7801\u4e2d\u7684\u6ce8 \u91ca\u8981\u6c42\u7ffb\u8bd1\uff0c\u5982\u679c\u8bd1\u7a3f\u4e2d\u6ca1\u6709\u4ee3\u7801\uff0c\u5219\u5e94\u8be5\u4ee5\u2f00\u53e5\u82f1\u2f42\uff08\u6ce8\u91ca\uff09 \u2f00\u53e5\u4e2d\u2f42\uff08\u6ce8\u91ca\uff09\u7684\u5f62\u5f0f\u7ed9\u51fa\u6ce8\u91ca\u3002\n- \u5173\u4e8e\u6807\u70b9\u7b26\u53f7\u3002\u8bd1\u7a3f\u4e2d\u7684\u6807\u70b9\u7b26\u53f7\u8981\u9075\u5faa\u4e2d\u2f42\u8868\u8fbe\u4e60\u60ef\u548c\u4e2d\u2f42\u6807 \u70b9\u7b26\u53f7\u7684\u4f7f\u2f64\u4e60\u60ef\uff0c\u4e0d\u80fd\u7167\u642c\u539f\u2f42\u7684\u6807\u70b9\u7b26\u53f7\u3002\n\n<Direct Translation> \n\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\n<problems in the first translation>\n1. **Inconsistent with Chinese expression habits**: The direct translation \"\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\" is a literal translation of \"where are you from,\" but in Chinese, it's more natural to say \"\u4f60\u662f\u54ea\u91cc\u4eba?\" or \"\u4f60\u6765\u81ea\u54ea\u91cc?\" when asking about someone's origin. While \"\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\" is grammatically correct, it doesn't fully align with common Chinese conversational habits.\n\n2. **Clumsy Sentences**: Although the sentence \"\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\" is understandable, it feels slightly awkward in casual conversation because it directly mimics the English structure without adapting to more idiomatic Chinese expressions.\n\n3. **Obscure and Difficult to Understand**: There is no inherent obscurity in this particular translation, as the meaning is clear. However, depending on context, \"\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\" could be interpreted as asking about a recent trip rather than one's place of origin, which might cause slight confusion if the intention is to ask about someone's hometown. \n\n4. **No Omission or Misinterpretation**: The translation accurately reflects the original text without missing any keywords or altering the meaning.\n\n5. **Flow and Fluency**: While the translation is fluent, it could be smoother by using a more natural phrasing like \"\u4f60\u6765\u81ea\u54ea\u91cc?\" or \"\u4f60\u662f\u54ea\u91cc\u4eba?\" to better fit Chinese conversational norms. \n\n6. **Punctuation**: The use of the question mark (?) is correct and follows Chinese punctuation rules.\n<Original Text>\nwhere are you from \n<Terms>\nThere are no technical terms in the input \"where are you from\". \n\nIf there were technical terms, they would be presented in the following format: {XXX} -> {XXX}.\n<Free Translation> ",
                        "files": []
                    }
                ],
                "model_provider": "langgenius/tongyi/tongyi",
                "model_name": "qwen-plus"
            },
            "outputs": {
                "text": "\u4f60\u6765\u81ea\u54ea\u91cc\uff1f",
                "usage": {
                    "prompt_tokens": 1038,
                    "prompt_unit_price": "0.0008",
                    "prompt_price_unit": "0.001",
                    "prompt_price": "0.0008304",
                    "completion_tokens": 4,
                    "completion_unit_price": "0.002",
                    "completion_price_unit": "0.001",
                    "completion_price": "0.000008",
                    "total_tokens": 1042,
                    "total_price": "0.0008384",
                    "currency": "RMB",
                    "latency": 0.5995663830001376
                },
                "finish_reason": "stop"
            },
            "status": "succeeded",
            "error": null,
            "elapsed_time": 0.655052,
            "execution_metadata": {
                "total_tokens": 1042,
                "total_price": "0.0008384",
                "currency": "RMB",
                "iteration_id": "1717916955547",
                "iteration_index": 0
            },
            "extras": {},
            "created_at": 1743475248,
            "created_by_role": "account",
            "created_by_account": {
                "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583",
                "name": "xueren",
                "email": "4159xxx@qq.com"
            },
            "created_by_end_user": null,
            "finished_at": 1743475248
        },
        {
            "id": "8ad4f83b-6cfa-48cf-bf04-ae18a37fdf81",
            "index": 6,
            "predecessor_node_id": "1717916977413",
            "node_id": "1717916984996",
            "node_type": "llm",
            "title": "Problems ",
            "inputs": null,
            "process_data": {
                "model_mode": "chat",
                "prompts": [
                    {
                        "role": "system",
                        "text": "<Task>\nBased on the results of the direct translation, point out specific issues it have. Accurate descriptions are required, avoiding vague statements, and there's no need to add content or formats that were not present in the original text, including but not liimited to: \n- inconsistent with chinese expression habits, clearly indicate where it does not conform\n- Clumsy sentences, specify the location, no need to offer suggestions for modification, which will be fixed during free translation\n- Obscure and difficult to understand, attempts to explain may be made\n- \u65e0\u6f0f\u8bd1\uff08\u539f\u2f42\u4e2d\u7684\u5173\u952e\u8bcd\u3001\u53e5\u2f26\u3001\u6bb5\u843d\u90fd\u5e94\u4f53\u73b0\u5728\u8bd1\u2f42\u4e2d\uff09\u3002\n- \u2f46\u9519\u8bd1\uff08\u770b\u9519\u539f\u2f42\u3001\u8bef\u89e3\u539f\u2f42\u610f\u601d\u5747\u7b97\u9519\u8bd1\uff09\u3002\n- \u2f46\u6709\u610f\u589e\u52a0\u6216\u8005\u5220\u51cf\u7684\u539f\u2f42\u5185\u5bb9\uff08\u7ffb\u8bd1\u5e76\u2fae\u521b\u4f5c\uff0c\u9700\u5c0a\u91cd\u4f5c\u8005\u89c2 \u70b9\uff1b\u53ef\u4ee5\u9002\u5f53\u52a0\u8bd1\u8005\u6ce8\u8bf4\u660e\uff09\u3002\n- \u8bd1\u2f42\u6d41\u7545\uff0c\u7b26\u5408\u4e2d\u2f42\u8868\u8fbe\u4e60\u60ef\u3002\n- \u5173\u4e8e\u2f08\u540d\u7684\u7ffb\u8bd1\u3002\u6280\u672f\u56fe\u4e66\u4e2d\u7684\u2f08\u540d\u901a\u5e38\u4e0d\u7ffb\u8bd1\uff0c\u4f46\u662f\u2f00\u4e9b\u4f17\u6240 \u5468\u77e5\u7684\u2f08\u540d\u9700\u2f64\u4e2d\u2f42\uff08\u5982\u4e54\u5e03\u65af\uff09\u3002\n- \u5173\u4e8e\u4e66\u540d\u7684\u7ffb\u8bd1\u3002\u6709\u4e2d\u2f42\u7248\u7684\u56fe\u4e66\uff0c\u8bf7\u2f64\u4e2d\u2f42\u7248\u4e66\u540d\uff1b\u2f46\u4e2d\u2f42\u7248 \u7684\u56fe\u4e66\uff0c\u76f4\u63a5\u2f64\u82f1\u2f42\u4e66\u540d\u3002\n- \u5173\u4e8e\u56fe\u8868\u7684\u7ffb\u8bd1\u3002\u8868\u683c\u4e2d\u7684\u8868\u9898\u3001\u8868\u5b57\u548c\u6ce8\u89e3\u7b49\u5747\u9700\u7ffb\u8bd1\u3002\u56fe\u9898 \u9700\u8981\u7ffb\u8bd1\u3002\u754c\u2faf\u622a\u56fe\u4e0d\u9700\u8981\u7ffb\u8bd1\u56fe\u5b57\u3002\u89e3\u91ca\u6027\u56fe\u9700\u8981\u6309\u7167\u4e2d\u82f1\u2f42 \u5bf9\u7167\u683c\u5f0f\u7ed9\u51fa\u56fe\u5b57\u7ffb\u8bd1\u3002\n- \u5173\u4e8e\u82f1\u2f42\u672f\u8bed\u7684\u8868\u8ff0\u3002\u82f1\u2f42\u672f\u8bed\u2fb8\u6b21\u51fa\u73b0\u65f6\uff0c\u5e94\u8be5\u6839\u636e\u8be5\u672f\u8bed\u7684 \u6d41\u2f8f\u60c5\u51b5\uff0c\u4f18\u5148\u4f7f\u2f64\u7b80\u5199\u5f62\u5f0f\uff0c\u5e76\u5728\u5176\u540e\u4f7f\u2f64\u62ec\u53f7\u52a0\u82f1\u2f42\u3001\u4e2d\u2f42 \u5168\u79f0\u6ce8\u89e3\uff0c\u683c\u5f0f\u4e3a\uff08\u4e3e\u4f8b\uff09\uff1aHTML\uff08Hypertext Markup Language\uff0c\u8d85\u2f42\u672c\u6807\u8bc6\u8bed\u2f94\uff09\u3002\u7136\u540e\u5728\u4e0b\u2f42\u4e2d\u76f4\u63a5\u4f7f\u2f64\u7b80\u5199\u5f62 \u5f0f\u3002\u5f53\u7136\uff0c\u5fc5\u8981\u65f6\u4e5f\u53ef\u4ee5\u6839\u636e\u8bed\u5883\u4f7f\u2f64\u4e2d\u3001\u82f1\u2f42\u5168\u79f0\u3002\n- \u5173\u4e8e\u4ee3\u7801\u6e05\u5355\u548c\u4ee3\u7801\u2f5a\u6bb5\u3002\u539f\u4e66\u4e2d\u5305\u542b\u7684\u7a0b\u5e8f\u4ee3\u7801\u4e0d\u8981\u6c42\u8bd1\u8005\u5f55 \u2f0a\uff0c\u4f46\u5e94\u8be5\u4f7f\u2f64\u201c\u539f\u4e66P99\u2eda\u4ee3\u78011\u201d\uff08\u5373\u539f\u4e66\u7b2c99\u2eda\u4e2d\u7684\u7b2c\u2f00\u6bb5\u4ee3 \u7801\uff09\u7684\u683c\u5f0f\u4f5c\u51fa\u6807\u6ce8\u3002\u540c\u65f6\uff0c\u8bd1\u8005\u5e94\u8be5\u5728\u6709\u6761\u4ef6\u7684\u60c5\u51b5\u4e0b\u68c0\u6838\u4ee3 \u7801\u7684\u6b63\u786e\u6027\uff0c\u5bf9\u53d1\u73b0\u7684\u9519\u8bef\u4ee5\u8bd1\u8005\u6ce8\u5f62\u5f0f\u8bf4\u660e\u3002\u7a0b\u5e8f\u4ee3\u7801\u4e2d\u7684\u6ce8 \u91ca\u8981\u6c42\u7ffb\u8bd1\uff0c\u5982\u679c\u8bd1\u7a3f\u4e2d\u6ca1\u6709\u4ee3\u7801\uff0c\u5219\u5e94\u8be5\u4ee5\u2f00\u53e5\u82f1\u2f42\uff08\u6ce8\u91ca\uff09 \u2f00\u53e5\u4e2d\u2f42\uff08\u6ce8\u91ca\uff09\u7684\u5f62\u5f0f\u7ed9\u51fa\u6ce8\u91ca\u3002\n- \u5173\u4e8e\u6807\u70b9\u7b26\u53f7\u3002\u8bd1\u7a3f\u4e2d\u7684\u6807\u70b9\u7b26\u53f7\u8981\u9075\u5faa\u4e2d\u2f42\u8868\u8fbe\u4e60\u60ef\u548c\u4e2d\u2f42\u6807 \u70b9\u7b26\u53f7\u7684\u4f7f\u2f64\u4e60\u60ef\uff0c\u4e0d\u80fd\u7167\u642c\u539f\u2f42\u7684\u6807\u70b9\u7b26\u53f7\u3002\n\n<Direct Translation>\n\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\n<Original Text>\nwhere are you from \n<Terms>\nThere are no technical terms in the input \"where are you from\". \n\nIf there were technical terms, they would be presented in the following format: {XXX} -> {XXX}.\n<Problems with the Direct Translation>",
                        "files": []
                    }
                ],
                "model_provider": "langgenius/tongyi/tongyi",
                "model_name": "qwen-plus"
            },
            "outputs": {
                "text": "1. **Inconsistent with Chinese expression habits**: The direct translation \"\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\" is a literal translation of \"where are you from,\" but in Chinese, it's more natural to say \"\u4f60\u662f\u54ea\u91cc\u4eba?\" or \"\u4f60\u6765\u81ea\u54ea\u91cc?\" when asking about someone's origin. While \"\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\" is grammatically correct, it doesn't fully align with common Chinese conversational habits.\n\n2. **Clumsy Sentences**: Although the sentence \"\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\" is understandable, it feels slightly awkward in casual conversation because it directly mimics the English structure without adapting to more idiomatic Chinese expressions.\n\n3. **Obscure and Difficult to Understand**: There is no inherent obscurity in this particular translation, as the meaning is clear. However, depending on context, \"\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\" could be interpreted as asking about a recent trip rather than one's place of origin, which might cause slight confusion if the intention is to ask about someone's hometown. \n\n4. **No Omission or Misinterpretation**: The translation accurately reflects the original text without missing any keywords or altering the meaning.\n\n5. **Flow and Fluency**: While the translation is fluent, it could be smoother by using a more natural phrasing like \"\u4f60\u6765\u81ea\u54ea\u91cc?\" or \"\u4f60\u662f\u54ea\u91cc\u4eba?\" to better fit Chinese conversational norms. \n\n6. **Punctuation**: The use of the question mark (?) is correct and follows Chinese punctuation rules.",
                "usage": {
                    "prompt_tokens": 719,
                    "prompt_unit_price": "0.0008",
                    "prompt_price_unit": "0.001",
                    "prompt_price": "0.0005752",
                    "completion_tokens": 300,
                    "completion_unit_price": "0.002",
                    "completion_price_unit": "0.001",
                    "completion_price": "0.0006",
                    "total_tokens": 1019,
                    "total_price": "0.0011752",
                    "currency": "RMB",
                    "latency": 17.675095370000008
                },
                "finish_reason": "stop"
            },
            "status": "succeeded",
            "error": null,
            "elapsed_time": 17.729458,
            "execution_metadata": {
                "total_tokens": 1019,
                "total_price": "0.0011752",
                "currency": "RMB",
                "iteration_id": "1717916955547",
                "iteration_index": 0
            },
            "extras": {},
            "created_at": 1743475230,
            "created_by_role": "account",
            "created_by_account": {
                "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583",
                "name": "xueren",
                "email": "4159xxx@qq.com"
            },
            "created_by_end_user": null,
            "finished_at": 1743475248
        },
        {
            "id": "8999317b-9e58-48ca-8ad0-840b433227de",
            "index": 5,
            "predecessor_node_id": "1717916961837",
            "node_id": "1717916977413",
            "node_type": "llm",
            "title": "1st Translation",
            "inputs": null,
            "process_data": {
                "model_mode": "chat",
                "prompts": [
                    {
                        "role": "system",
                        "text": "<Task> You are a professional translator proficient in Simplified Chinese especially skilled in translating professional academic papers into easy-to-understand popular science articles. Please help me translate the following english paragraph into Chinese, in a style similar to Chinese popular science articles .\n<Constraints> \nTranslate directly based on the English content, maintain the original format and do not omit any information. \n<Before Translation> \nwhere are you from \n<Terms>\nThere are no technical terms in the input \"where are you from\". \n\nIf there were technical terms, they would be presented in the following format: {XXX} -> {XXX}.\n<Direct Translation> ",
                        "files": []
                    }
                ],
                "model_provider": "langgenius/tongyi/tongyi",
                "model_name": "qwen-plus"
            },
            "outputs": {
                "text": "\u4f60\u4ece\u54ea\u91cc\u6765\uff1f",
                "usage": {
                    "prompt_tokens": 142,
                    "prompt_unit_price": "0.0008",
                    "prompt_price_unit": "0.001",
                    "prompt_price": "0.0001136",
                    "completion_tokens": 5,
                    "completion_unit_price": "0.002",
                    "completion_price_unit": "0.001",
                    "completion_price": "0.00001",
                    "total_tokens": 147,
                    "total_price": "0.0001236",
                    "currency": "RMB",
                    "latency": 0.4924418349999087
                },
                "finish_reason": "stop"
            },
            "status": "succeeded",
            "error": null,
            "elapsed_time": 0.548408,
            "execution_metadata": {
                "total_tokens": 147,
                "total_price": "0.0001236",
                "currency": "RMB",
                "iteration_id": "1717916955547",
                "iteration_index": 0
            },
            "extras": {},
            "created_at": 1743475229,
            "created_by_role": "account",
            "created_by_account": {
                "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583",
                "name": "xueren",
                "email": "4159xxx@qq.com"
            },
            "created_by_end_user": null,
            "finished_at": 1743475230
        },
        {
            "id": "33439d1e-ed07-4d2b-8495-a250202f6aaa",
            "index": 4,
            "predecessor_node_id": null,
            "node_id": "1717916961837",
            "node_type": "llm",
            "title": "Identify Terms ",
            "inputs": null,
            "process_data": {
                "model_mode": "chat",
                "prompts": [
                    {
                        "role": "system",
                        "text": "<Task> Identify the technical terms in the users input. Use the following format {XXX} -> {XXX} to show the corresponding technical terms before and after translation. \n\n<Input Text> \nwhere are you from \n\n<Example>\n| \u82f1\u6587 | \u4e2d\u6587 |\n| --- | --- |\n| Prompt Engineering | \u63d0\u793a\u8bcd\u5de5\u7a0b |\n| Text Generation \u00a0| \u6587\u672c\u751f\u6210 |\n| Token \u00a0| Token |\n| Prompt \u00a0| \u63d0\u793a\u8bcd |\n| Meta Prompting \u00a0| \u5143\u63d0\u793a |\n| diffusion models \u00a0| \u6269\u6563\u6a21\u578b |\n| Agent \u00a0| \u667a\u80fd\u4f53 |\n| Transformer \u00a0| Transformer |\n| Zero Shot \u00a0| \u96f6\u6837\u672c |\n| Few Shot \u00a0| \u5c11\u6837\u672c |\n| chat window \u00a0| \u804a\u5929 |\n| context | \u4e0a\u4e0b\u6587 |\n| stock photo \u00a0| \u56fe\u5e93\u7167\u7247 |\n\n\n<Technical Terms> ",
                        "files": []
                    }
                ],
                "model_provider": "langgenius/tongyi/tongyi",
                "model_name": "qwen-plus"
            },
            "outputs": {
                "text": "There are no technical terms in the input \"where are you from\". \n\nIf there were technical terms, they would be presented in the following format: {XXX} -> {XXX}.",
                "usage": {
                    "prompt_tokens": 204,
                    "prompt_unit_price": "0.0008",
                    "prompt_price_unit": "0.001",
                    "prompt_price": "0.0001632",
                    "completion_tokens": 37,
                    "completion_unit_price": "0.002",
                    "completion_price_unit": "0.001",
                    "completion_price": "0.000074",
                    "total_tokens": 241,
                    "total_price": "0.0002372",
                    "currency": "RMB",
                    "latency": 1.5492035350000606
                },
                "finish_reason": "stop"
            },
            "status": "succeeded",
            "error": null,
            "elapsed_time": 1.677839,
            "execution_metadata": {
                "total_tokens": 241,
                "total_price": "0.0002372",
                "currency": "RMB",
                "iteration_id": "1717916955547",
                "iteration_index": 0
            },
            "extras": {},
            "created_at": 1743475228,
            "created_by_role": "account",
            "created_by_account": {
                "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583",
                "name": "xueren",
                "email": "4159xxx@qq.com"
            },
            "created_by_end_user": null,
            "finished_at": 1743475229
        },
        {
            "id": "a02177c2-c222-4c17-be53-b158bd669b28",
            "index": 3,
            "predecessor_node_id": "1717916867969",
            "node_id": "1717916955547",
            "node_type": "iteration",
            "title": "Iteration",
            "inputs": null,
            "process_data": null,
            "outputs": {
                "output": [
                    "\u4f60\u6765\u81ea\u54ea\u91cc\uff1f"
                ]
            },
            "status": "succeeded",
            "error": null,
            "elapsed_time": 20.66982,
            "execution_metadata": {
                "iteration_duration_map": {
                    "0": 20.598509
                },
                "total_tokens": 2449
            },
            "extras": {},
            "created_at": 1743475228,
            "created_by_role": "account",
            "created_by_account": {
                "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583",
                "name": "xueren",
                "email": "4159xxx@qq.com"
            },
            "created_by_end_user": null,
            "finished_at": 1743475248
        },
        {
            "id": "186d3687-7ba0-416b-9ffa-62060fa211da",
            "index": 2,
            "predecessor_node_id": "1711067409646",
            "node_id": "1717916867969",
            "node_type": "code",
            "title": "Code",
            "inputs": {
                "input_text": "where are you from "
            },
            "process_data": null,
            "outputs": {
                "chunks": [
                    "where are you from "
                ]
            },
            "status": "succeeded",
            "error": null,
            "elapsed_time": 0.095833,
            "execution_metadata": null,
            "extras": {},
            "created_at": 1743475228,
            "created_by_role": "account",
            "created_by_account": {
                "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583",
                "name": "xueren",
                "email": "4159xxx@qq.com"
            },
            "created_by_end_user": null,
            "finished_at": 1743475228
        },
        {
            "id": "efd29fc3-429b-4c3b-906e-b5cf21f495ed",
            "index": 1,
            "predecessor_node_id": null,
            "node_id": "1711067409646",
            "node_type": "start",
            "title": "Start",
            "inputs": {
                "input_text": "where are you from ",
                "sys.files": [],
                "sys.user_id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583",
                "sys.app_id": "84d14a8b-45c7-4182-b4d6-824686efd3b5",
                "sys.workflow_id": "e5843997-2c4f-46c7-b589-9c3645484681",
                "sys.workflow_run_id": "a217a76b-e5c5-434b-9f2f-fea5aaeaf7fe"
            },
            "process_data": null,
            "outputs": {
                "input_text": "where are you from ",
                "sys.files": [],
                "sys.user_id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583",
                "sys.app_id": "84d14a8b-45c7-4182-b4d6-824686efd3b5",
                "sys.workflow_id": "e5843997-2c4f-46c7-b589-9c3645484681",
                "sys.workflow_run_id": "a217a76b-e5c5-434b-9f2f-fea5aaeaf7fe"
            },
            "status": "succeeded",
            "error": null,
            "elapsed_time": 0.07523,
            "execution_metadata": null,
            "extras": {},
            "created_at": 1743475228,
            "created_by_role": "account",
            "created_by_account": {
                "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583",
                "name": "xueren",
                "email": "4159xxx@qq.com"
            },
            "created_by_end_user": null,
            "finished_at": 1743475228
        }
    ]
}

Do you have any plan to support it?

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @HuangXiaomeng on GitHub (Mar 31, 2025). ### Self Checks - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. I see there is no api to get node-executions of workflow and below is demo from console ``` { "data": [ { "id": "21baab86-8b13-4b5c-a87d-cf95d7a0db21", "index": 9, "predecessor_node_id": "1717917057450", "node_id": "1711068257370", "node_type": "end", "title": "End", "inputs": { "final": "\u4f60\u6765\u81ea\u54ea\u91cc\uff1f" }, "process_data": null, "outputs": { "final": "\u4f60\u6765\u81ea\u54ea\u91cc\uff1f" }, "status": "succeeded", "error": null, "elapsed_time": 0.022987, "execution_metadata": null, "extras": {}, "created_at": 1743475248, "created_by_role": "account", "created_by_account": { "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583", "name": "xueren", "email": "4159xxx@qq.com" }, "created_by_end_user": null, "finished_at": 1743475248 }, { "id": "2eb6839e-77b7-4e0a-891c-38b23887f162", "index": 8, "predecessor_node_id": "1717916955547", "node_id": "1717917057450", "node_type": "template-transform", "title": "Template", "inputs": { "translated_text": [ "\u4f60\u6765\u81ea\u54ea\u91cc\uff1f" ] }, "process_data": null, "outputs": { "output": "\u4f60\u6765\u81ea\u54ea\u91cc\uff1f" }, "status": "succeeded", "error": null, "elapsed_time": 0.135072, "execution_metadata": null, "extras": {}, "created_at": 1743475248, "created_by_role": "account", "created_by_account": { "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583", "name": "xueren", "email": "4159xxx@qq.com" }, "created_by_end_user": null, "finished_at": 1743475248 }, { "id": "8561cada-e507-4072-a409-c025f8536c97", "index": 7, "predecessor_node_id": "1717916984996", "node_id": "1717916991709", "node_type": "llm", "title": "2nd Translation ", "inputs": null, "process_data": { "model_mode": "chat", "prompts": [ { "role": "system", "text": "<Task>\nBased on the results of the direct translation in the first step and the problems identified in the second step, re-translate to achieve a meaning-based interpretation. Ensure the original intent of the content is preserved while making it easier to understand and more in line with Chinese expression habits. All the while maintaining the original format unchanged. \n\n<Guidance>\n- inconsistent with chinese expression habits, clearly indicate where it does not conform\n- Clumsy sentences, specify the location, no need to offer suggestions for modification, which will be fixed during free translation\n- Obscure and difficult to understand, attempts to explain may be made\n- \u65e0\u6f0f\u8bd1\uff08\u539f\u2f42\u4e2d\u7684\u5173\u952e\u8bcd\u3001\u53e5\u2f26\u3001\u6bb5\u843d\u90fd\u5e94\u4f53\u73b0\u5728\u8bd1\u2f42\u4e2d\uff09\u3002\n- \u2f46\u9519\u8bd1\uff08\u770b\u9519\u539f\u2f42\u3001\u8bef\u89e3\u539f\u2f42\u610f\u601d\u5747\u7b97\u9519\u8bd1\uff09\u3002\n- \u2f46\u6709\u610f\u589e\u52a0\u6216\u8005\u5220\u51cf\u7684\u539f\u2f42\u5185\u5bb9\uff08\u7ffb\u8bd1\u5e76\u2fae\u521b\u4f5c\uff0c\u9700\u5c0a\u91cd\u4f5c\u8005\u89c2 \u70b9\uff1b\u53ef\u4ee5\u9002\u5f53\u52a0\u8bd1\u8005\u6ce8\u8bf4\u660e\uff09\u3002\n- \u8bd1\u2f42\u6d41\u7545\uff0c\u7b26\u5408\u4e2d\u2f42\u8868\u8fbe\u4e60\u60ef\u3002\n- \u5173\u4e8e\u2f08\u540d\u7684\u7ffb\u8bd1\u3002\u6280\u672f\u56fe\u4e66\u4e2d\u7684\u2f08\u540d\u901a\u5e38\u4e0d\u7ffb\u8bd1\uff0c\u4f46\u662f\u2f00\u4e9b\u4f17\u6240 \u5468\u77e5\u7684\u2f08\u540d\u9700\u2f64\u4e2d\u2f42\uff08\u5982\u4e54\u5e03\u65af\uff09\u3002\n- \u5173\u4e8e\u4e66\u540d\u7684\u7ffb\u8bd1\u3002\u6709\u4e2d\u2f42\u7248\u7684\u56fe\u4e66\uff0c\u8bf7\u2f64\u4e2d\u2f42\u7248\u4e66\u540d\uff1b\u2f46\u4e2d\u2f42\u7248 \u7684\u56fe\u4e66\uff0c\u76f4\u63a5\u2f64\u82f1\u2f42\u4e66\u540d\u3002\n- \u5173\u4e8e\u56fe\u8868\u7684\u7ffb\u8bd1\u3002\u8868\u683c\u4e2d\u7684\u8868\u9898\u3001\u8868\u5b57\u548c\u6ce8\u89e3\u7b49\u5747\u9700\u7ffb\u8bd1\u3002\u56fe\u9898 \u9700\u8981\u7ffb\u8bd1\u3002\u754c\u2faf\u622a\u56fe\u4e0d\u9700\u8981\u7ffb\u8bd1\u56fe\u5b57\u3002\u89e3\u91ca\u6027\u56fe\u9700\u8981\u6309\u7167\u4e2d\u82f1\u2f42 \u5bf9\u7167\u683c\u5f0f\u7ed9\u51fa\u56fe\u5b57\u7ffb\u8bd1\u3002\n- \u5173\u4e8e\u82f1\u2f42\u672f\u8bed\u7684\u8868\u8ff0\u3002\u82f1\u2f42\u672f\u8bed\u2fb8\u6b21\u51fa\u73b0\u65f6\uff0c\u5e94\u8be5\u6839\u636e\u8be5\u672f\u8bed\u7684 \u6d41\u2f8f\u60c5\u51b5\uff0c\u4f18\u5148\u4f7f\u2f64\u7b80\u5199\u5f62\u5f0f\uff0c\u5e76\u5728\u5176\u540e\u4f7f\u2f64\u62ec\u53f7\u52a0\u82f1\u2f42\u3001\u4e2d\u2f42 \u5168\u79f0\u6ce8\u89e3\uff0c\u683c\u5f0f\u4e3a\uff08\u4e3e\u4f8b\uff09\uff1aHTML\uff08Hypertext Markup Language\uff0c\u8d85\u2f42\u672c\u6807\u8bc6\u8bed\u2f94\uff09\u3002\u7136\u540e\u5728\u4e0b\u2f42\u4e2d\u76f4\u63a5\u4f7f\u2f64\u7b80\u5199\u5f62 \u5f0f\u3002\u5f53\u7136\uff0c\u5fc5\u8981\u65f6\u4e5f\u53ef\u4ee5\u6839\u636e\u8bed\u5883\u4f7f\u2f64\u4e2d\u3001\u82f1\u2f42\u5168\u79f0\u3002\n- \u5173\u4e8e\u4ee3\u7801\u6e05\u5355\u548c\u4ee3\u7801\u2f5a\u6bb5\u3002\u539f\u4e66\u4e2d\u5305\u542b\u7684\u7a0b\u5e8f\u4ee3\u7801\u4e0d\u8981\u6c42\u8bd1\u8005\u5f55 \u2f0a\uff0c\u4f46\u5e94\u8be5\u4f7f\u2f64\u201c\u539f\u4e66P99\u2eda\u4ee3\u78011\u201d\uff08\u5373\u539f\u4e66\u7b2c99\u2eda\u4e2d\u7684\u7b2c\u2f00\u6bb5\u4ee3 \u7801\uff09\u7684\u683c\u5f0f\u4f5c\u51fa\u6807\u6ce8\u3002\u540c\u65f6\uff0c\u8bd1\u8005\u5e94\u8be5\u5728\u6709\u6761\u4ef6\u7684\u60c5\u51b5\u4e0b\u68c0\u6838\u4ee3 \u7801\u7684\u6b63\u786e\u6027\uff0c\u5bf9\u53d1\u73b0\u7684\u9519\u8bef\u4ee5\u8bd1\u8005\u6ce8\u5f62\u5f0f\u8bf4\u660e\u3002\u7a0b\u5e8f\u4ee3\u7801\u4e2d\u7684\u6ce8 \u91ca\u8981\u6c42\u7ffb\u8bd1\uff0c\u5982\u679c\u8bd1\u7a3f\u4e2d\u6ca1\u6709\u4ee3\u7801\uff0c\u5219\u5e94\u8be5\u4ee5\u2f00\u53e5\u82f1\u2f42\uff08\u6ce8\u91ca\uff09 \u2f00\u53e5\u4e2d\u2f42\uff08\u6ce8\u91ca\uff09\u7684\u5f62\u5f0f\u7ed9\u51fa\u6ce8\u91ca\u3002\n- \u5173\u4e8e\u6807\u70b9\u7b26\u53f7\u3002\u8bd1\u7a3f\u4e2d\u7684\u6807\u70b9\u7b26\u53f7\u8981\u9075\u5faa\u4e2d\u2f42\u8868\u8fbe\u4e60\u60ef\u548c\u4e2d\u2f42\u6807 \u70b9\u7b26\u53f7\u7684\u4f7f\u2f64\u4e60\u60ef\uff0c\u4e0d\u80fd\u7167\u642c\u539f\u2f42\u7684\u6807\u70b9\u7b26\u53f7\u3002\n\n<Direct Translation> \n\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\n<problems in the first translation>\n1. **Inconsistent with Chinese expression habits**: The direct translation \"\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\" is a literal translation of \"where are you from,\" but in Chinese, it's more natural to say \"\u4f60\u662f\u54ea\u91cc\u4eba?\" or \"\u4f60\u6765\u81ea\u54ea\u91cc?\" when asking about someone's origin. While \"\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\" is grammatically correct, it doesn't fully align with common Chinese conversational habits.\n\n2. **Clumsy Sentences**: Although the sentence \"\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\" is understandable, it feels slightly awkward in casual conversation because it directly mimics the English structure without adapting to more idiomatic Chinese expressions.\n\n3. **Obscure and Difficult to Understand**: There is no inherent obscurity in this particular translation, as the meaning is clear. However, depending on context, \"\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\" could be interpreted as asking about a recent trip rather than one's place of origin, which might cause slight confusion if the intention is to ask about someone's hometown. \n\n4. **No Omission or Misinterpretation**: The translation accurately reflects the original text without missing any keywords or altering the meaning.\n\n5. **Flow and Fluency**: While the translation is fluent, it could be smoother by using a more natural phrasing like \"\u4f60\u6765\u81ea\u54ea\u91cc?\" or \"\u4f60\u662f\u54ea\u91cc\u4eba?\" to better fit Chinese conversational norms. \n\n6. **Punctuation**: The use of the question mark (?) is correct and follows Chinese punctuation rules.\n<Original Text>\nwhere are you from \n<Terms>\nThere are no technical terms in the input \"where are you from\". \n\nIf there were technical terms, they would be presented in the following format: {XXX} -> {XXX}.\n<Free Translation> ", "files": [] } ], "model_provider": "langgenius/tongyi/tongyi", "model_name": "qwen-plus" }, "outputs": { "text": "\u4f60\u6765\u81ea\u54ea\u91cc\uff1f", "usage": { "prompt_tokens": 1038, "prompt_unit_price": "0.0008", "prompt_price_unit": "0.001", "prompt_price": "0.0008304", "completion_tokens": 4, "completion_unit_price": "0.002", "completion_price_unit": "0.001", "completion_price": "0.000008", "total_tokens": 1042, "total_price": "0.0008384", "currency": "RMB", "latency": 0.5995663830001376 }, "finish_reason": "stop" }, "status": "succeeded", "error": null, "elapsed_time": 0.655052, "execution_metadata": { "total_tokens": 1042, "total_price": "0.0008384", "currency": "RMB", "iteration_id": "1717916955547", "iteration_index": 0 }, "extras": {}, "created_at": 1743475248, "created_by_role": "account", "created_by_account": { "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583", "name": "xueren", "email": "4159xxx@qq.com" }, "created_by_end_user": null, "finished_at": 1743475248 }, { "id": "8ad4f83b-6cfa-48cf-bf04-ae18a37fdf81", "index": 6, "predecessor_node_id": "1717916977413", "node_id": "1717916984996", "node_type": "llm", "title": "Problems ", "inputs": null, "process_data": { "model_mode": "chat", "prompts": [ { "role": "system", "text": "<Task>\nBased on the results of the direct translation, point out specific issues it have. Accurate descriptions are required, avoiding vague statements, and there's no need to add content or formats that were not present in the original text, including but not liimited to: \n- inconsistent with chinese expression habits, clearly indicate where it does not conform\n- Clumsy sentences, specify the location, no need to offer suggestions for modification, which will be fixed during free translation\n- Obscure and difficult to understand, attempts to explain may be made\n- \u65e0\u6f0f\u8bd1\uff08\u539f\u2f42\u4e2d\u7684\u5173\u952e\u8bcd\u3001\u53e5\u2f26\u3001\u6bb5\u843d\u90fd\u5e94\u4f53\u73b0\u5728\u8bd1\u2f42\u4e2d\uff09\u3002\n- \u2f46\u9519\u8bd1\uff08\u770b\u9519\u539f\u2f42\u3001\u8bef\u89e3\u539f\u2f42\u610f\u601d\u5747\u7b97\u9519\u8bd1\uff09\u3002\n- \u2f46\u6709\u610f\u589e\u52a0\u6216\u8005\u5220\u51cf\u7684\u539f\u2f42\u5185\u5bb9\uff08\u7ffb\u8bd1\u5e76\u2fae\u521b\u4f5c\uff0c\u9700\u5c0a\u91cd\u4f5c\u8005\u89c2 \u70b9\uff1b\u53ef\u4ee5\u9002\u5f53\u52a0\u8bd1\u8005\u6ce8\u8bf4\u660e\uff09\u3002\n- \u8bd1\u2f42\u6d41\u7545\uff0c\u7b26\u5408\u4e2d\u2f42\u8868\u8fbe\u4e60\u60ef\u3002\n- \u5173\u4e8e\u2f08\u540d\u7684\u7ffb\u8bd1\u3002\u6280\u672f\u56fe\u4e66\u4e2d\u7684\u2f08\u540d\u901a\u5e38\u4e0d\u7ffb\u8bd1\uff0c\u4f46\u662f\u2f00\u4e9b\u4f17\u6240 \u5468\u77e5\u7684\u2f08\u540d\u9700\u2f64\u4e2d\u2f42\uff08\u5982\u4e54\u5e03\u65af\uff09\u3002\n- \u5173\u4e8e\u4e66\u540d\u7684\u7ffb\u8bd1\u3002\u6709\u4e2d\u2f42\u7248\u7684\u56fe\u4e66\uff0c\u8bf7\u2f64\u4e2d\u2f42\u7248\u4e66\u540d\uff1b\u2f46\u4e2d\u2f42\u7248 \u7684\u56fe\u4e66\uff0c\u76f4\u63a5\u2f64\u82f1\u2f42\u4e66\u540d\u3002\n- \u5173\u4e8e\u56fe\u8868\u7684\u7ffb\u8bd1\u3002\u8868\u683c\u4e2d\u7684\u8868\u9898\u3001\u8868\u5b57\u548c\u6ce8\u89e3\u7b49\u5747\u9700\u7ffb\u8bd1\u3002\u56fe\u9898 \u9700\u8981\u7ffb\u8bd1\u3002\u754c\u2faf\u622a\u56fe\u4e0d\u9700\u8981\u7ffb\u8bd1\u56fe\u5b57\u3002\u89e3\u91ca\u6027\u56fe\u9700\u8981\u6309\u7167\u4e2d\u82f1\u2f42 \u5bf9\u7167\u683c\u5f0f\u7ed9\u51fa\u56fe\u5b57\u7ffb\u8bd1\u3002\n- \u5173\u4e8e\u82f1\u2f42\u672f\u8bed\u7684\u8868\u8ff0\u3002\u82f1\u2f42\u672f\u8bed\u2fb8\u6b21\u51fa\u73b0\u65f6\uff0c\u5e94\u8be5\u6839\u636e\u8be5\u672f\u8bed\u7684 \u6d41\u2f8f\u60c5\u51b5\uff0c\u4f18\u5148\u4f7f\u2f64\u7b80\u5199\u5f62\u5f0f\uff0c\u5e76\u5728\u5176\u540e\u4f7f\u2f64\u62ec\u53f7\u52a0\u82f1\u2f42\u3001\u4e2d\u2f42 \u5168\u79f0\u6ce8\u89e3\uff0c\u683c\u5f0f\u4e3a\uff08\u4e3e\u4f8b\uff09\uff1aHTML\uff08Hypertext Markup Language\uff0c\u8d85\u2f42\u672c\u6807\u8bc6\u8bed\u2f94\uff09\u3002\u7136\u540e\u5728\u4e0b\u2f42\u4e2d\u76f4\u63a5\u4f7f\u2f64\u7b80\u5199\u5f62 \u5f0f\u3002\u5f53\u7136\uff0c\u5fc5\u8981\u65f6\u4e5f\u53ef\u4ee5\u6839\u636e\u8bed\u5883\u4f7f\u2f64\u4e2d\u3001\u82f1\u2f42\u5168\u79f0\u3002\n- \u5173\u4e8e\u4ee3\u7801\u6e05\u5355\u548c\u4ee3\u7801\u2f5a\u6bb5\u3002\u539f\u4e66\u4e2d\u5305\u542b\u7684\u7a0b\u5e8f\u4ee3\u7801\u4e0d\u8981\u6c42\u8bd1\u8005\u5f55 \u2f0a\uff0c\u4f46\u5e94\u8be5\u4f7f\u2f64\u201c\u539f\u4e66P99\u2eda\u4ee3\u78011\u201d\uff08\u5373\u539f\u4e66\u7b2c99\u2eda\u4e2d\u7684\u7b2c\u2f00\u6bb5\u4ee3 \u7801\uff09\u7684\u683c\u5f0f\u4f5c\u51fa\u6807\u6ce8\u3002\u540c\u65f6\uff0c\u8bd1\u8005\u5e94\u8be5\u5728\u6709\u6761\u4ef6\u7684\u60c5\u51b5\u4e0b\u68c0\u6838\u4ee3 \u7801\u7684\u6b63\u786e\u6027\uff0c\u5bf9\u53d1\u73b0\u7684\u9519\u8bef\u4ee5\u8bd1\u8005\u6ce8\u5f62\u5f0f\u8bf4\u660e\u3002\u7a0b\u5e8f\u4ee3\u7801\u4e2d\u7684\u6ce8 \u91ca\u8981\u6c42\u7ffb\u8bd1\uff0c\u5982\u679c\u8bd1\u7a3f\u4e2d\u6ca1\u6709\u4ee3\u7801\uff0c\u5219\u5e94\u8be5\u4ee5\u2f00\u53e5\u82f1\u2f42\uff08\u6ce8\u91ca\uff09 \u2f00\u53e5\u4e2d\u2f42\uff08\u6ce8\u91ca\uff09\u7684\u5f62\u5f0f\u7ed9\u51fa\u6ce8\u91ca\u3002\n- \u5173\u4e8e\u6807\u70b9\u7b26\u53f7\u3002\u8bd1\u7a3f\u4e2d\u7684\u6807\u70b9\u7b26\u53f7\u8981\u9075\u5faa\u4e2d\u2f42\u8868\u8fbe\u4e60\u60ef\u548c\u4e2d\u2f42\u6807 \u70b9\u7b26\u53f7\u7684\u4f7f\u2f64\u4e60\u60ef\uff0c\u4e0d\u80fd\u7167\u642c\u539f\u2f42\u7684\u6807\u70b9\u7b26\u53f7\u3002\n\n<Direct Translation>\n\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\n<Original Text>\nwhere are you from \n<Terms>\nThere are no technical terms in the input \"where are you from\". \n\nIf there were technical terms, they would be presented in the following format: {XXX} -> {XXX}.\n<Problems with the Direct Translation>", "files": [] } ], "model_provider": "langgenius/tongyi/tongyi", "model_name": "qwen-plus" }, "outputs": { "text": "1. **Inconsistent with Chinese expression habits**: The direct translation \"\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\" is a literal translation of \"where are you from,\" but in Chinese, it's more natural to say \"\u4f60\u662f\u54ea\u91cc\u4eba?\" or \"\u4f60\u6765\u81ea\u54ea\u91cc?\" when asking about someone's origin. While \"\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\" is grammatically correct, it doesn't fully align with common Chinese conversational habits.\n\n2. **Clumsy Sentences**: Although the sentence \"\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\" is understandable, it feels slightly awkward in casual conversation because it directly mimics the English structure without adapting to more idiomatic Chinese expressions.\n\n3. **Obscure and Difficult to Understand**: There is no inherent obscurity in this particular translation, as the meaning is clear. However, depending on context, \"\u4f60\u4ece\u54ea\u91cc\u6765\uff1f\" could be interpreted as asking about a recent trip rather than one's place of origin, which might cause slight confusion if the intention is to ask about someone's hometown. \n\n4. **No Omission or Misinterpretation**: The translation accurately reflects the original text without missing any keywords or altering the meaning.\n\n5. **Flow and Fluency**: While the translation is fluent, it could be smoother by using a more natural phrasing like \"\u4f60\u6765\u81ea\u54ea\u91cc?\" or \"\u4f60\u662f\u54ea\u91cc\u4eba?\" to better fit Chinese conversational norms. \n\n6. **Punctuation**: The use of the question mark (?) is correct and follows Chinese punctuation rules.", "usage": { "prompt_tokens": 719, "prompt_unit_price": "0.0008", "prompt_price_unit": "0.001", "prompt_price": "0.0005752", "completion_tokens": 300, "completion_unit_price": "0.002", "completion_price_unit": "0.001", "completion_price": "0.0006", "total_tokens": 1019, "total_price": "0.0011752", "currency": "RMB", "latency": 17.675095370000008 }, "finish_reason": "stop" }, "status": "succeeded", "error": null, "elapsed_time": 17.729458, "execution_metadata": { "total_tokens": 1019, "total_price": "0.0011752", "currency": "RMB", "iteration_id": "1717916955547", "iteration_index": 0 }, "extras": {}, "created_at": 1743475230, "created_by_role": "account", "created_by_account": { "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583", "name": "xueren", "email": "4159xxx@qq.com" }, "created_by_end_user": null, "finished_at": 1743475248 }, { "id": "8999317b-9e58-48ca-8ad0-840b433227de", "index": 5, "predecessor_node_id": "1717916961837", "node_id": "1717916977413", "node_type": "llm", "title": "1st Translation", "inputs": null, "process_data": { "model_mode": "chat", "prompts": [ { "role": "system", "text": "<Task> You are a professional translator proficient in Simplified Chinese especially skilled in translating professional academic papers into easy-to-understand popular science articles. Please help me translate the following english paragraph into Chinese, in a style similar to Chinese popular science articles .\n<Constraints> \nTranslate directly based on the English content, maintain the original format and do not omit any information. \n<Before Translation> \nwhere are you from \n<Terms>\nThere are no technical terms in the input \"where are you from\". \n\nIf there were technical terms, they would be presented in the following format: {XXX} -> {XXX}.\n<Direct Translation> ", "files": [] } ], "model_provider": "langgenius/tongyi/tongyi", "model_name": "qwen-plus" }, "outputs": { "text": "\u4f60\u4ece\u54ea\u91cc\u6765\uff1f", "usage": { "prompt_tokens": 142, "prompt_unit_price": "0.0008", "prompt_price_unit": "0.001", "prompt_price": "0.0001136", "completion_tokens": 5, "completion_unit_price": "0.002", "completion_price_unit": "0.001", "completion_price": "0.00001", "total_tokens": 147, "total_price": "0.0001236", "currency": "RMB", "latency": 0.4924418349999087 }, "finish_reason": "stop" }, "status": "succeeded", "error": null, "elapsed_time": 0.548408, "execution_metadata": { "total_tokens": 147, "total_price": "0.0001236", "currency": "RMB", "iteration_id": "1717916955547", "iteration_index": 0 }, "extras": {}, "created_at": 1743475229, "created_by_role": "account", "created_by_account": { "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583", "name": "xueren", "email": "4159xxx@qq.com" }, "created_by_end_user": null, "finished_at": 1743475230 }, { "id": "33439d1e-ed07-4d2b-8495-a250202f6aaa", "index": 4, "predecessor_node_id": null, "node_id": "1717916961837", "node_type": "llm", "title": "Identify Terms ", "inputs": null, "process_data": { "model_mode": "chat", "prompts": [ { "role": "system", "text": "<Task> Identify the technical terms in the users input. Use the following format {XXX} -> {XXX} to show the corresponding technical terms before and after translation. \n\n<Input Text> \nwhere are you from \n\n<Example>\n| \u82f1\u6587 | \u4e2d\u6587 |\n| --- | --- |\n| Prompt Engineering | \u63d0\u793a\u8bcd\u5de5\u7a0b |\n| Text Generation \u00a0| \u6587\u672c\u751f\u6210 |\n| Token \u00a0| Token |\n| Prompt \u00a0| \u63d0\u793a\u8bcd |\n| Meta Prompting \u00a0| \u5143\u63d0\u793a |\n| diffusion models \u00a0| \u6269\u6563\u6a21\u578b |\n| Agent \u00a0| \u667a\u80fd\u4f53 |\n| Transformer \u00a0| Transformer |\n| Zero Shot \u00a0| \u96f6\u6837\u672c |\n| Few Shot \u00a0| \u5c11\u6837\u672c |\n| chat window \u00a0| \u804a\u5929 |\n| context | \u4e0a\u4e0b\u6587 |\n| stock photo \u00a0| \u56fe\u5e93\u7167\u7247 |\n\n\n<Technical Terms> ", "files": [] } ], "model_provider": "langgenius/tongyi/tongyi", "model_name": "qwen-plus" }, "outputs": { "text": "There are no technical terms in the input \"where are you from\". \n\nIf there were technical terms, they would be presented in the following format: {XXX} -> {XXX}.", "usage": { "prompt_tokens": 204, "prompt_unit_price": "0.0008", "prompt_price_unit": "0.001", "prompt_price": "0.0001632", "completion_tokens": 37, "completion_unit_price": "0.002", "completion_price_unit": "0.001", "completion_price": "0.000074", "total_tokens": 241, "total_price": "0.0002372", "currency": "RMB", "latency": 1.5492035350000606 }, "finish_reason": "stop" }, "status": "succeeded", "error": null, "elapsed_time": 1.677839, "execution_metadata": { "total_tokens": 241, "total_price": "0.0002372", "currency": "RMB", "iteration_id": "1717916955547", "iteration_index": 0 }, "extras": {}, "created_at": 1743475228, "created_by_role": "account", "created_by_account": { "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583", "name": "xueren", "email": "4159xxx@qq.com" }, "created_by_end_user": null, "finished_at": 1743475229 }, { "id": "a02177c2-c222-4c17-be53-b158bd669b28", "index": 3, "predecessor_node_id": "1717916867969", "node_id": "1717916955547", "node_type": "iteration", "title": "Iteration", "inputs": null, "process_data": null, "outputs": { "output": [ "\u4f60\u6765\u81ea\u54ea\u91cc\uff1f" ] }, "status": "succeeded", "error": null, "elapsed_time": 20.66982, "execution_metadata": { "iteration_duration_map": { "0": 20.598509 }, "total_tokens": 2449 }, "extras": {}, "created_at": 1743475228, "created_by_role": "account", "created_by_account": { "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583", "name": "xueren", "email": "4159xxx@qq.com" }, "created_by_end_user": null, "finished_at": 1743475248 }, { "id": "186d3687-7ba0-416b-9ffa-62060fa211da", "index": 2, "predecessor_node_id": "1711067409646", "node_id": "1717916867969", "node_type": "code", "title": "Code", "inputs": { "input_text": "where are you from " }, "process_data": null, "outputs": { "chunks": [ "where are you from " ] }, "status": "succeeded", "error": null, "elapsed_time": 0.095833, "execution_metadata": null, "extras": {}, "created_at": 1743475228, "created_by_role": "account", "created_by_account": { "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583", "name": "xueren", "email": "4159xxx@qq.com" }, "created_by_end_user": null, "finished_at": 1743475228 }, { "id": "efd29fc3-429b-4c3b-906e-b5cf21f495ed", "index": 1, "predecessor_node_id": null, "node_id": "1711067409646", "node_type": "start", "title": "Start", "inputs": { "input_text": "where are you from ", "sys.files": [], "sys.user_id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583", "sys.app_id": "84d14a8b-45c7-4182-b4d6-824686efd3b5", "sys.workflow_id": "e5843997-2c4f-46c7-b589-9c3645484681", "sys.workflow_run_id": "a217a76b-e5c5-434b-9f2f-fea5aaeaf7fe" }, "process_data": null, "outputs": { "input_text": "where are you from ", "sys.files": [], "sys.user_id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583", "sys.app_id": "84d14a8b-45c7-4182-b4d6-824686efd3b5", "sys.workflow_id": "e5843997-2c4f-46c7-b589-9c3645484681", "sys.workflow_run_id": "a217a76b-e5c5-434b-9f2f-fea5aaeaf7fe" }, "status": "succeeded", "error": null, "elapsed_time": 0.07523, "execution_metadata": null, "extras": {}, "created_at": 1743475228, "created_by_role": "account", "created_by_account": { "id": "ad7e93ce-9847-4f68-9c9e-7134a84cc583", "name": "xueren", "email": "4159xxx@qq.com" }, "created_by_end_user": null, "finished_at": 1743475228 } ] } ``` Do you have any plan to support it? ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 19:07:19 -05:00
yindo closed this issue 2026-02-21 19:07:20 -05:00
Author
Owner

@crazywoola commented on GitHub (Apr 1, 2025):

The services can be used in the service API as well if you want to implement that.

@crazywoola commented on GitHub (Apr 1, 2025): The services can be used in the service API as well if you want to implement that.
Author
Owner

@dosubot[bot] commented on GitHub (May 2, 2025):

Hi, @HuangXiaomeng. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • You requested an API to retrieve node-executions of a workflow, noting its absence.
  • Provided a sample data structure for the desired information.
  • Crazywoola suggested using services in the service API for implementation.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting here.
  • If no updates are provided, the issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (May 2, 2025): Hi, @HuangXiaomeng. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog. I'm marking this issue as stale. **Issue Summary:** - You requested an API to retrieve node-executions of a workflow, noting its absence. - Provided a sample data structure for the desired information. - Crazywoola suggested using services in the service API for implementation. **Next Steps:** - Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting here. - If no updates are provided, the issue will be automatically closed in 15 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#12421