跳到正文

基本介绍

一个扣子AI简历分析流程,只需上传简历和职位描述,AI自动输出姓名、优缺点、匹配度评分。

提示词

json
### **专业招聘官角色设定**

**角色名称**:精准人岗匹配专家

**角色定位**:一位经验极为丰富、逻辑缜密且一丝不苟的专业招聘官。你长期深耕招聘领域,对各类岗位需求有着深刻理解。在工作中,始终保持严谨细致的态度,凭借卓越的分析能力,致力于为公司选拔出最契合岗位要求的顶尖人才,是公司招聘环节中至关重要的把关者。

### **核心任务与执行标准**

#### **1. 简历分析与匹配度计算**
  - **深入理解**:全面且透彻地解读提供的岗位需求,将每个任职要求细致拆解,构建精确的评估标准。
  - **多维分析**:从多维度深入分析简历,计算综合匹配度。
      - **硬性要求**:涵盖教育背景(精确到学校、专业)、工作经验年限、特定技能(如编程语言、工具、证书等)。
      - **软性能力**:包括项目经验、过往职责、团队协作能力、解决问题能力、沟通能力、学习能力等。
      - **特殊要求**:若岗位有特殊要求,如跨部门沟通经验等,务必精准考量。
  - **匹配度计算**:匹配度以百分比呈现,确保评估客观公正,严格依据岗位描述的任职要求进行匹配。

#### **2. 信息提炼与洞察**
  - **高效筛选**:迅速从复杂简历中提炼关键信息,如工作经验、核心技能、项目成果。
  - **优势与劣势洞察**:进行批判性分析,精准找出每份简历的亮点与不足,为决策者提供全面深入的洞察,助力快速做出明智决策。

#### **3. 公正性与标准遵循**
  - **绝对公正**:筛选全程严格遵循公司标准,杜绝个人偏见与歧视,确保招聘公正。
  - **严格对标**:所有判断以职位要求为唯一依据,筛选严格符合岗位标准,不偏移。

#### **4. 结果输出**
  - **标准化展示**:最终筛选结果以JSON格式输出,信息清晰、结构化,便于查阅比对。
  - **输出模板**:

{
  "analysis_results":
  {
  "job_title": "数据分析专员",
  "name": "小由",
  "gender": "女",
  "age": "18",
  "university": "霍格沃茨魔法学校",
  "strengths": "具备扎实的专业背景和丰富的实务经验,能够快速适应岗位并独立解决问题",
  "weaknesses": "职业稳定性相对不足,跨部门协作和综合协调经验尚需提升",
  "overall_evaluation": "候选人整体能力与岗位高度契合,具备良好的学习与发展潜力。在团队合作和长期稳定性方面仍有一定提升空间,若能加以引导与培养,未来发展前景可期",
  "match_score": "78%"
  }
}


请提供岗位需求和候选人简历,你将即刻启动分析流程。

**限制条件**:
- 回答严格基于提供的岗位需求和候选人简历进行分析。
- 输出结果必须符合JSON格式模板要求。
- 如果简历中未包含相关信息,则将字段值设为空字符。
- 如果简历中只提及了出生日期,而没有年龄,你需要根据当前时间进行计算出年龄。
- 分析过程中不得引入个人主观臆断,仅依据岗位描述标准进行判断。 

工作流源码

json
{
  "type": "coze-workflow-clipboard-data",
  "source": {
    "workflowId": "7618414848082280458",
    "flowMode": 0,
    "spaceId": "7614907765504426027",
    "isDouyin": false,
    "host": "www.coze.cn"
  },
  "json": {
    "nodes": [
      {
        "id": "193002",
        "type": "3",
        "meta": {
          "position": {
            "x": 2940,
            "y": 80
          }
        },
        "data": {
          "nodeMeta": {
            "description": "调用大语言模型,使用变量和提示词生成回复",
            "icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/dvsmryvd_avi_dvsm/ljhwZthlaukjlkulzlp/icon/icon-LLM-v2.jpg",
            "title": "分析简历信息",
            "subTitle": "大模型"
          },
          "inputs": {
            "inputParameters": [
              {
                "name": "resume_content",
                "input": {
                  "type": "string",
                  "value": {
                    "type": "ref",
                    "content": {
                      "source": "block-output",
                      "blockID": "195226",
                      "name": "Group1"
                    },
                    "rawMeta": {
                      "type": 1
                    }
                  }
                }
              },
              {
                "name": "job_description",
                "input": {
                  "type": "string",
                  "value": {
                    "type": "ref",
                    "content": {
                      "source": "block-output",
                      "blockID": "100001",
                      "name": "job_description"
                    },
                    "rawMeta": {
                      "type": 1
                    }
                  }
                }
              }
            ],
            "llmParam": [
              {
                "name": "generationDiversity",
                "input": {
                  "type": "string",
                  "value": {
                    "type": "literal",
                    "content": "balance",
                    "rawMeta": {
                      "type": 1
                    }
                  }
                }
              },
              {
                "name": "apiMode",
                "input": {
                  "type": "integer",
                  "value": {
                    "type": "literal",
                    "content": "0",
                    "rawMeta": {
                      "type": 2
                    }
                  }
                }
              },
              {
                "name": "temperature",
                "input": {
                  "type": "float",
                  "value": {
                    "type": "literal",
                    "content": "0.5",
                    "rawMeta": {
                      "type": 4
                    }
                  }
                }
              },
              {
                "name": "topP",
                "input": {
                  "type": "float",
                  "value": {
                    "type": "literal",
                    "content": "1",
                    "rawMeta": {
                      "type": 4
                    }
                  }
                }
              },
              {
                "name": "frequencyPenalty",
                "input": {
                  "type": "float",
                  "value": {
                    "type": "literal",
                    "content": "0",
                    "rawMeta": {
                      "type": 4
                    }
                  }
                }
              },
              {
                "name": "maxTokens",
                "input": {
                  "type": "integer",
                  "value": {
                    "type": "literal",
                    "content": "4096",
                    "rawMeta": {
                      "type": 2
                    }
                  }
                }
              },
              {
                "name": "spCurrentTime",
                "input": {
                  "type": "boolean",
                  "value": {
                    "type": "literal",
                    "content": false,
                    "rawMeta": {
                      "type": 3
                    }
                  }
                }
              },
              {
                "name": "spAntiLeak",
                "input": {
                  "type": "boolean",
                  "value": {
                    "type": "literal",
                    "content": false,
                    "rawMeta": {
                      "type": 3
                    }
                  }
                }
              },
              {
                "name": "thinkingType",
                "input": {
                  "type": "string",
                  "value": {
                    "type": "literal",
                    "content": "disabled",
                    "rawMeta": {
                      "type": 1
                    }
                  }
                }
              },
              {
                "name": "responseFormat",
                "input": {
                  "type": "integer",
                  "value": {
                    "type": "literal",
                    "content": "2",
                    "rawMeta": {
                      "type": 2
                    }
                  }
                }
              },
              {
                "name": "modleName",
                "input": {
                  "type": "string",
                  "value": {
                    "type": "literal",
                    "content": "豆包·2.0·mini",
                    "rawMeta": {
                      "type": 1
                    }
                  }
                }
              },
              {
                "name": "modelType",
                "input": {
                  "type": "integer",
                  "value": {
                    "type": "literal",
                    "content": "1772003209",
                    "rawMeta": {
                      "type": 2
                    }
                  }
                }
              },
              {
                "name": "parameters",
                "input": {
                  "value": {
                    "type": "object_ref"
                  },
                  "type": "object",
                  "schema": [
                    {
                      "name": "max_completion_tokens",
                      "input": {
                        "type": "integer",
                        "value": {
                          "type": "literal",
                          "content": "0",
                          "rawMeta": {
                            "type": 2
                          }
                        }
                      }
                    },
                    {
                      "name": "reasoning_effort",
                      "input": {
                        "type": "string",
                        "value": {
                          "type": "literal",
                          "content": "minimal",
                          "rawMeta": {
                            "type": 1
                          }
                        }
                      }
                    }
                  ]
                }
              },
              {
                "name": "prompt",
                "input": {
                  "type": "string",
                  "value": {
                    "type": "literal",
                    "content": "职位描述:{{job_description}}\n简历内容:{{resume_content}}",
                    "rawMeta": {
                      "type": 1
                    }
                  }
                }
              },
              {
                "name": "enableChatHistory",
                "input": {
                  "type": "boolean",
                  "value": {
                    "type": "literal",
                    "content": false,
                    "rawMeta": {
                      "type": 3
                    }
                  }
                }
              },
              {
                "name": "chatHistoryRound",
                "input": {
                  "type": "integer",
                  "value": {
                    "type": "literal",
                    "content": "3",
                    "rawMeta": {
                      "type": 2
                    }
                  }
                }
              },
              {
                "name": "systemPrompt",
                "input": {
                  "type": "string",
                  "value": {
                    "type": "literal",
                    "content": "### **专业招聘官角色设定**\n\n**角色名称**:精准人岗匹配专家\n\n**角色定位**:一位经验极为丰富、逻辑缜密且一丝不苟的专业招聘官。你长期深耕招聘领域,对各类岗位需求有着深刻理解。在工作中,始终保持严谨细致的态度,凭借卓越的分析能力,致力于为公司选拔出最契合岗位要求的顶尖人才,是公司招聘环节中至关重要的把关者。\n\n### **核心任务与执行标准**\n\n#### **1. 简历分析与匹配度计算**\n  - **深入理解**:全面且透彻地解读提供的岗位需求,将每个任职要求细致拆解,构建精确的评估标准。\n  - **多维分析**:从多维度深入分析简历,计算综合匹配度。\n      - **硬性要求**:涵盖教育背景(精确到学校、专业)、工作经验年限、特定技能(如编程语言、工具、证书等)。\n      - **软性能力**:包括项目经验、过往职责、团队协作能力、解决问题能力、沟通能力、学习能力等。\n      - **特殊要求**:若岗位有特殊要求,如跨部门沟通经验等,务必精准考量。\n  - **匹配度计算**:匹配度以百分比呈现,确保评估客观公正,严格依据岗位描述的任职要求进行匹配。\n\n#### **2. 信息提炼与洞察**\n  - **高效筛选**:迅速从复杂简历中提炼关键信息,如工作经验、核心技能、项目成果。\n  - **优势与劣势洞察**:进行批判性分析,精准找出每份简历的亮点与不足,为决策者提供全面深入的洞察,助力快速做出明智决策。\n\n#### **3. 公正性与标准遵循**\n  - **绝对公正**:筛选全程严格遵循公司标准,杜绝个人偏见与歧视,确保招聘公正。\n  - **严格对标**:所有判断以职位要求为唯一依据,筛选严格符合岗位标准,不偏移。\n\n#### **4. 结果输出**\n  - **标准化展示**:最终筛选结果以JSON格式输出,信息清晰、结构化,便于查阅比对。\n  - **输出模板**:\n```json\n{\n  \"analysis_results\":\n  {\n  \"job_title\": \"数据分析专员\",\n  \"name\": \"小由\",\n  \"gender\": \"女\",\n  \"age\": \"18\",\n  \"university\": \"霍格沃茨魔法学校\",\n  \"strengths\": \"具备扎实的专业背景和丰富的实务经验,能够快速适应岗位并独立解决问题\",\n  \"weaknesses\": \"职业稳定性相对不足,跨部门协作和综合协调经验尚需提升\",\n  \"overall_evaluation\": \"候选人整体能力与岗位高度契合,具备良好的学习与发展潜力。在团队合作和长期稳定性方面仍有一定提升空间,若能加以引导与培养,未来发展前景可期\",\n  \"match_score\": \"78%\"\n  }\n}\n\n```\n\n请提供岗位需求和候选人简历,你将即刻启动分析流程。\n\n**限制条件**:\n- 回答严格基于提供的岗位需求和候选人简历进行分析。\n- 输出结果必须符合JSON格式模板要求。\n- 如果简历中未包含相关信息,则将字段值设为空字符。\n- 如果简历中只提及了出生日期,而没有年龄,你需要根据当前时间进行计算出年龄。\n- 分析过程中不得引入个人主观臆断,仅依据岗位描述标准进行判断。 ",
                    "rawMeta": {
                      "type": 1
                    }
                  }
                }
              },
              {
                "name": "stableSystemPrompt",
                "input": {
                  "type": "string",
                  "value": {
                    "type": "literal",
                    "content": "",
                    "rawMeta": {
                      "type": 1
                    }
                  }
                }
              },
              {
                "name": "canContinue",
                "input": {
                  "type": "boolean",
                  "value": {
                    "type": "literal",
                    "content": false,
                    "rawMeta": {
                      "type": 3
                    }
                  }
                }
              },
              {
                "name": "loopPromptVersion",
                "input": {
                  "type": "string",
                  "value": {
                    "type": "literal",
                    "content": "",
                    "rawMeta": {
                      "type": 1
                    }
                  }
                }
              },
              {
                "name": "loopPromptName",
                "input": {
                  "type": "string",
                  "value": {
                    "type": "literal",
                    "content": "",
                    "rawMeta": {
                      "type": 1
                    }
                  }
                }
              },
              {
                "name": "loopPromptId",
                "input": {
                  "type": "string",
                  "value": {
                    "type": "literal",
                    "content": "",
                    "rawMeta": {
                      "type": 1
                    }
                  }
                }
              }
            ],
            "fcParamVar": {
              "knowledgeFCParam": {}
            },
            "settingOnError": {
              "switch": false,
              "processType": 1,
              "timeoutMs": 180000,
              "retryTimes": 0
            }
          },
          "outputs": [
            {
              "type": "object",
              "name": "analysis_results",
              "schema": [
                {
                  "type": "string",
                  "name": "job_title",
                  "description": "岗位名称"
                },
                {
                  "type": "string",
                  "name": "name",
                  "description": "候选人姓名"
                },
                {
                  "type": "string",
                  "name": "gender",
                  "description": "候选人性别"
                },
                {
                  "type": "integer",
                  "name": "age",
                  "description": "候选人年龄,不要带“岁”字"
                },
                {
                  "type": "string",
                  "name": "university",
                  "description": "候选人毕业院校"
                },
                {
                  "type": "string",
                  "name": "strengths",
                  "description": "候选人的优点"
                },
                {
                  "type": "string",
                  "name": "weaknesses",
                  "description": "候选人的劣势"
                },
                {
                  "type": "string",
                  "name": "overall_evaluation",
                  "description": "候选人的综合评价"
                },
                {
                  "type": "string",
                  "name": "match_score",
                  "description": "综合匹配度,最高为 100%"
                }
              ],
              "required": false
            },
            {
              "type": "string",
              "name": "reasoning_content",
              "required": false
            }
          ],
          "version": "3"
        },
        "_temp": {
          "bounds": {
            "x": 2760,
            "y": 80,
            "width": 360,
            "height": 164
          },
          "externalData": {
            "icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/dvsmryvd_avi_dvsm/ljhwZthlaukjlkulzlp/icon/icon-LLM-v2.jpg",
            "description": "调用大语言模型,使用变量和提示词生成回复",
            "title": "大模型",
            "mainColor": "#5C62FF"
          }
        }
      },
      {
        "id": "106987",
        "type": "4",
        "meta": {
          "position": {
            "x": 1549.3317702227432,
            "y": 174.95896834701057
          }
        },
        "data": {
          "nodeMeta": {
            "description": "当你需要获取网页、pdf、doc、docx、xlsx、csv、text 内容时,使用此工具,可以获取url链接下的标题和内容。由于个别网站自身站点限制,无法获取网页内容。",
            "icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/dvsmryvd_avi_dvsm/ljhwZthlaukjlkulzlp/icon/icon-Plugin-v2.jpg",
            "subtitle": "链接读取:LinkReaderPlugin",
            "title": "读取文件内容"
          },
          "inputs": {
            "apiParam": [
              {
                "input": {
                  "type": "string",
                  "value": {
                    "content": "7379227817307029513",
                    "rawMeta": {
                      "type": 1
                    },
                    "type": "literal"
                  }
                },
                "name": "apiID"
              },
              {
                "input": {
                  "type": "string",
                  "value": {
                    "content": "LinkReaderPlugin",
                    "rawMeta": {
                      "type": 1
                    },
                    "type": "literal"
                  }
                },
                "name": "apiName"
              },
              {
                "input": {
                  "type": "string",
                  "value": {
                    "content": "7379227817307013129",
                    "rawMeta": {
                      "type": 1
                    },
                    "type": "literal"
                  }
                },
                "name": "pluginID"
              },
              {
                "input": {
                  "type": "string",
                  "value": {
                    "content": "链接读取",
                    "rawMeta": {
                      "type": 1
                    },
                    "type": "literal"
                  }
                },
                "name": "pluginName"
              },
              {
                "input": {
                  "type": "string",
                  "value": {
                    "content": "",
                    "rawMeta": {
                      "type": 1
                    },
                    "type": "literal"
                  }
                },
                "name": "pluginVersion"
              },
              {
                "input": {
                  "type": "string",
                  "value": {
                    "content": "",
                    "rawMeta": {
                      "type": 1
                    },
                    "type": "literal"
                  }
                },
                "name": "tips"
              },
              {
                "input": {
                  "type": "string",
                  "value": {
                    "content": "",
                    "rawMeta": {
                      "type": 1
                    },
                    "type": "literal"
                  }
                },
                "name": "outDocLink"
              }
            ],
            "inputParameters": [
              {
                "name": "url",
                "input": {
                  "type": "string",
                  "value": {
                    "type": "ref",
                    "content": {
                      "source": "block-output",
                      "blockID": "100001",
                      "name": "resume_file"
                    },
                    "rawMeta": {
                      "type": 1
                    }
                  }
                }
              }
            ],
            "settingOnError": {
              "processType": 1,
              "timeoutMs": 180000,
              "retryTimes": 0
            }
          },
          "outputs": [
            {
              "type": "string",
              "name": "message",
              "required": false,
              "description": "错误信息"
            },
            {
              "type": "string",
              "name": "pdf_content",
              "required": false,
              "description": "pdf的内容"
            },
            {
              "type": "integer",
              "name": "code",
              "required": false,
              "description": "错误码"
            },
            {
              "type": "object",
              "name": "data",
              "schema": [
                {
                  "type": "string",
                  "name": "content",
                  "required": false
                },
                {
                  "type": "list",
                  "name": "images",
                  "schema": {
                    "type": "object",
                    "schema": [
                      {
                        "type": "string",
                        "name": "url",
                        "required": false
                      },
                      {
                        "type": "integer",
                        "name": "width",
                        "required": false
                      },
                      {
                        "type": "string",
                        "name": "alt",
                        "required": false
                      },
                      {
                        "type": "integer",
                        "name": "height",
                        "required": false
                      },
                      {
                        "type": "string",
                        "name": "title",
                        "required": false
                      }
                    ]
                  },
                  "required": false
                },
                {
                  "type": "string",
                  "name": "title",
                  "required": false
                }
              ],
              "required": false,
              "description": "网页的内容"
            },
            {
              "type": "string",
              "name": "err_msg",
              "required": false,
              "description": "错误信息"
            },
            {
              "type": "string",
              "name": "error_code",
              "required": false,
              "description": "错误码"
            },
            {
              "type": "string",
              "name": "error_msg",
              "required": false,
              "description": "错误信息"
            }
          ]
        },
        "_temp": {
          "bounds": {
            "x": 1369.3317702227432,
            "y": 174.95896834701057,
            "width": 360,
            "height": 112
          },
          "externalData": {
            "icon": "https://lf9-appstore-sign.oceancloudapi.com/ocean-cloud-tos/plugin_icon/372098605791453_1733129140009182679_PnsFgsWuUu.png?lk3s=cd508e2b&x-expires=1779267839&x-signature=fAu7R4Bl2f3XB5xXFIOVa5kvtpM%3D",
            "apiName": "LinkReaderPlugin",
            "pluginID": "7379227817307013129",
            "pluginProductStatus": 1,
            "pluginProductUnlistType": 0,
            "pluginType": 1,
            "spaceID": "7315016311652941851",
            "inputs": [
              {
                "description": "是否需要返回图片url",
                "input": {},
                "name": "need_image_url",
                "required": false,
                "type": "boolean"
              },
              {
                "description": "网页url、pdf url、docx url、csv url、 xlsx url。",
                "input": {},
                "name": "url",
                "required": true,
                "type": "string"
              }
            ],
            "outputs": [
              {
                "description": "错误信息",
                "input": {},
                "name": "message",
                "required": false,
                "type": "string"
              },
              {
                "description": "pdf的内容",
                "input": {},
                "name": "pdf_content",
                "required": false,
                "type": "string"
              },
              {
                "description": "错误码",
                "input": {},
                "name": "code",
                "required": false,
                "type": "integer"
              },
              {
                "description": "网页的内容",
                "input": {},
                "name": "data",
                "required": false,
                "schema": [
                  {
                    "input": {},
                    "name": "images",
                    "required": false,
                    "schema": {
                      "schema": [
                        {
                          "input": {},
                          "name": "alt",
                          "required": false,
                          "type": "string"
                        },
                        {
                          "input": {},
                          "name": "height",
                          "required": false,
                          "type": "integer"
                        },
                        {
                          "input": {},
                          "name": "title",
                          "required": false,
                          "type": "string"
                        },
                        {
                          "input": {},
                          "name": "url",
                          "required": false,
                          "type": "string"
                        },
                        {
                          "input": {},
                          "name": "width",
                          "required": false,
                          "type": "integer"
                        }
                      ],
                      "type": "object"
                    },
                    "type": "list"
                  },
                  {
                    "input": {},
                    "name": "title",
                    "required": false,
                    "type": "string"
                  },
                  {
                    "input": {},
                    "name": "content",
                    "required": false,
                    "type": "string"
                  }
                ],
                "type": "object"
              },
              {
                "description": "错误信息",
                "input": {},
                "name": "err_msg",
                "required": false,
                "type": "string"
              },
              {
                "description": "错误码",
                "input": {},
                "name": "error_code",
                "required": false,
                "type": "string"
              },
              {
                "description": "错误信息",
                "input": {},
                "name": "error_msg",
                "required": false,
                "type": "string"
              }
            ],
            "updateTime": 1776675839,
            "channel_id": 2,
            "commercial_setting": {},
            "latestVersionTs": "0",
            "latestVersionName": "",
            "versionName": "",
            "description": "当你需要获取网页、pdf、doc、docx、xlsx、csv、text 内容时,使用此工具,可以获取url链接下的标题和内容。由于个别网站自身站点限制,无法获取网页内容。",
            "title": "LinkReaderPlugin",
            "mainColor": "#CA61FF"
          }
        }
      },
      {
        "id": "100001",
        "type": "1",
        "meta": {
          "position": {
            "x": 180,
            "y": 119
          }
        },
        "data": {
          "nodeMeta": {
            "description": "工作流的起始节点,用于设定启动工作流需要的信息",
            "icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/dvsmryvd_avi_dvsm/ljhwZthlaukjlkulzlp/icon/icon-Start-v2.jpg",
            "subTitle": "",
            "title": "开始"
          },
          "outputs": [
            {
              "type": "string",
              "assistType": 1,
              "name": "resume_file",
              "required": true
            },
            {
              "type": "string",
              "name": "job_description",
              "required": true
            }
          ],
          "trigger_parameters": []
        },
        "_temp": {
          "bounds": {
            "x": 0,
            "y": 119,
            "width": 360,
            "height": 86
          },
          "externalData": {
            "icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/dvsmryvd_avi_dvsm/ljhwZthlaukjlkulzlp/icon/icon-Start-v2.jpg",
            "description": "工作流的起始节点,用于设定启动工作流需要的信息",
            "title": "开始",
            "mainColor": "#5C62FF"
          }
        }
      },
      {
        "id": "900001",
        "type": "2",
        "meta": {
          "position": {
            "x": 3400,
            "y": 106
          }
        },
        "data": {
          "nodeMeta": {
            "description": "工作流的最终节点,用于返回工作流运行后的结果信息",
            "icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/dvsmryvd_avi_dvsm/ljhwZthlaukjlkulzlp/icon/icon-End-v2.jpg",
            "subTitle": "",
            "title": "结束"
          },
          "inputs": {
            "terminatePlan": "returnVariables",
            "inputParameters": [
              {
                "name": "data",
                "input": {
                  "type": "object",
                  "schema": [
                    {
                      "type": "string",
                      "name": "job_title",
                      "description": "岗位名称"
                    },
                    {
                      "type": "string",
                      "name": "name",
                      "description": "候选人姓名"
                    },
                    {
                      "type": "string",
                      "name": "gender",
                      "description": "候选人性别"
                    },
                    {
                      "type": "integer",
                      "name": "age",
                      "description": "候选人年龄,不要带“岁”字"
                    },
                    {
                      "type": "string",
                      "name": "university",
                      "description": "候选人毕业院校"
                    },
                    {
                      "type": "string",
                      "name": "strengths",
                      "description": "候选人的优点"
                    },
                    {
                      "type": "string",
                      "name": "weaknesses",
                      "description": "候选人的劣势"
                    },
                    {
                      "type": "string",
                      "name": "overall_evaluation",
                      "description": "候选人的综合评价"
                    },
                    {
                      "type": "string",
                      "name": "match_score",
                      "description": "综合匹配度,最高为 100%"
                    }
                  ],
                  "value": {
                    "type": "ref",
                    "content": {
                      "source": "block-output",
                      "blockID": "193002",
                      "name": "analysis_results"
                    },
                    "rawMeta": {
                      "type": 6
                    }
                  }
                }
              }
            ]
          }
        },
        "_temp": {
          "bounds": {
            "x": 3220,
            "y": 106,
            "width": 360,
            "height": 112
          },
          "externalData": {
            "icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/dvsmryvd_avi_dvsm/ljhwZthlaukjlkulzlp/icon/icon-End-v2.jpg",
            "description": "工作流的最终节点,用于返回工作流运行后的结果信息",
            "title": "结束",
            "mainColor": "#5C62FF"
          }
        }
      },
      {
        "id": "119959",
        "type": "4",
        "meta": {
          "position": {
            "x": 1549.3317702227432,
            "y": -79.50762016412659
          }
        },
        "data": {
          "nodeMeta": {
            "description": "图像识别文字",
            "icon": "https://p6-flow-product-sign.byteimg.com/tos-cn-i-13w3uml6bg/da47f5814c0b42108448190a1dac089a~tplv-13w3uml6bg-resize:128:128.image?rk3s=2e2596fd&x-expires=1779264692&x-signature=R%2FgxmKDf4TbzwSNLUotkjPELi3g%3D",
            "subtitle": "OCR:Image2text",
            "title": "读取图片内容"
          },
          "inputs": {
            "apiParam": [
              {
                "input": {
                  "type": "string",
                  "value": {
                    "content": "7379229178446544908",
                    "rawMeta": {
                      "type": 1
                    },
                    "type": "literal"
                  }
                },
                "name": "apiID"
              },
              {
                "input": {
                  "type": "string",
                  "value": {
                    "content": "Image2text",
                    "rawMeta": {
                      "type": 1
                    },
                    "type": "literal"
                  }
                },
                "name": "apiName"
              },
              {
                "input": {
                  "type": "string",
                  "value": {
                    "content": "7379229178446528524",
                    "rawMeta": {
                      "type": 1
                    },
                    "type": "literal"
                  }
                },
                "name": "pluginID"
              },
              {
                "input": {
                  "type": "string",
                  "value": {
                    "content": "OCR",
                    "rawMeta": {
                      "type": 1
                    },
                    "type": "literal"
                  }
                },
                "name": "pluginName"
              },
              {
                "input": {
                  "type": "string",
                  "value": {
                    "content": "",
                    "rawMeta": {
                      "type": 1
                    },
                    "type": "literal"
                  }
                },
                "name": "pluginVersion"
              },
              {
                "input": {
                  "type": "string",
                  "value": {
                    "content": "",
                    "rawMeta": {
                      "type": 1
                    },
                    "type": "literal"
                  }
                },
                "name": "tips"
              },
              {
                "input": {
                  "type": "string",
                  "value": {
                    "content": "",
                    "rawMeta": {
                      "type": 1
                    },
                    "type": "literal"
                  }
                },
                "name": "outDocLink"
              }
            ],
            "inputParameters": [
              {
                "name": "url",
                "input": {
                  "type": "string",
                  "value": {
                    "type": "ref",
                    "content": {
                      "source": "block-output",
                      "blockID": "100001",
                      "name": "resume_file"
                    },
                    "rawMeta": {
                      "type": 1
                    }
                  }
                }
              }
            ],
            "settingOnError": {
              "processType": 1,
              "timeoutMs": 180000,
              "retryTimes": 0
            }
          },
          "outputs": [
            {
              "type": "string",
              "name": "msg",
              "required": false
            },
            {
              "type": "float",
              "name": "code",
              "required": false
            },
            {
              "type": "object",
              "name": "data",
              "schema": [
                {
                  "type": "list",
                  "name": "results",
                  "schema": {
                    "type": "object",
                    "schema": [
                      {
                        "type": "list",
                        "name": "words",
                        "schema": {
                          "type": "object",
                          "schema": [
                            {
                              "type": "string",
                              "name": "lang",
                              "required": false,
                              "description": "文本语种代码"
                            },
                            {
                              "type": "string",
                              "name": "text",
                              "required": false,
                              "description": "文本内容"
                            }
                          ]
                        },
                        "required": false,
                        "description": "返回结果"
                      }
                    ]
                  },
                  "required": false,
                  "description": "返回结果"
                }
              ],
              "required": false,
              "description": "返回结果"
            },
            {
              "type": "string",
              "name": "log_id",
              "required": false
            }
          ]
        },
        "_temp": {
          "bounds": {
            "x": 1369.3317702227432,
            "y": -79.50762016412659,
            "width": 360,
            "height": 136
          },
          "externalData": {
            "icon": "https://lf3-appstore-sign.oceancloudapi.com/ocean-cloud-tos/plugin_icon/2175268956156697_1709620237845991199_Xgu99CrIsm.png?lk3s=cd508e2b&x-expires=1779267839&x-signature=bJeMPvb%2BErvxfq2CwcHCI7Vwuww%3D",
            "apiName": "Image2text",
            "pluginID": "7379229178446528524",
            "pluginProductStatus": 1,
            "pluginProductUnlistType": 0,
            "pluginType": 1,
            "spaceID": "7315016311652941851",
            "inputs": [
              {
                "description": "图片的url地址",
                "input": {},
                "name": "url",
                "required": true,
                "type": "string"
              }
            ],
            "outputs": [
              {
                "input": {},
                "name": "code",
                "required": false,
                "type": "float"
              },
              {
                "description": "返回结果",
                "input": {},
                "name": "data",
                "required": false,
                "schema": [
                  {
                    "description": "返回结果",
                    "input": {},
                    "name": "results",
                    "required": false,
                    "schema": {
                      "schema": [
                        {
                          "description": "返回结果",
                          "input": {},
                          "name": "words",
                          "required": false,
                          "schema": {
                            "schema": [
                              {
                                "description": "文本内容",
                                "input": {},
                                "name": "text",
                                "required": false,
                                "type": "string"
                              },
                              {
                                "description": "文本语种代码",
                                "input": {},
                                "name": "lang",
                                "required": false,
                                "type": "string"
                              }
                            ],
                            "type": "object"
                          },
                          "type": "list"
                        }
                      ],
                      "type": "object"
                    },
                    "type": "list"
                  }
                ],
                "type": "object"
              },
              {
                "input": {},
                "name": "log_id",
                "required": false,
                "type": "string"
              },
              {
                "input": {},
                "name": "msg",
                "required": false,
                "type": "string"
              }
            ],
            "updateTime": 1776675787,
            "channel_id": 2,
            "commercial_setting": {},
            "latestVersionTs": "0",
            "latestVersionName": "",
            "versionName": "",
            "description": "图片转文字",
            "title": "Image2text",
            "mainColor": "#CA61FF"
          }
        }
      },
      {
        "id": "140499",
        "type": "5",
        "meta": {
          "position": {
            "x": 640,
            "y": 106
          }
        },
        "data": {
          "nodeMeta": {
            "description": "编写代码,处理输入变量来生成返回值",
            "icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/dvsmryvd_avi_dvsm/ljhwZthlaukjlkulzlp/icon/icon-Code-v2.jpg",
            "title": "代码",
            "subTitle": "代码"
          },
          "inputs": {
            "inputParameters": [
              {
                "name": "file",
                "input": {
                  "type": "string",
                  "assistType": 1,
                  "value": {
                    "type": "ref",
                    "content": {
                      "source": "block-output",
                      "blockID": "100001",
                      "name": "resume_file"
                    },
                    "rawMeta": {
                      "type": 8
                    }
                  }
                }
              }
            ],
            "code": "// 在这里,您可以通过 'params'  获取节点中的输入变量,并通过 'ret' 输出结果\n// 'params' 已经被正确地注入到环境中\n// 下面是一个示例,获取节点输入中参数名为'input'的值:\n// const input = params.input; \n// 下面是一个示例,输出一个包含多种数据类型的 'ret' 对象:\n// const ret = { \"name\": '小明', \"hobbies\": [\"看书\", \"旅游\"] };\n\nasync function main({ params }) {\n  const url = String(params.file || \"\").trim().toLowerCase();\n  const imageExts = [\".jpg\", \".jpeg\", \".png\", \".bmp\", \".webp\", \".gif\"];\n\n  const is_image = imageExts.some(ext => url.includes(ext));\n\n  return {\n    is_image\n  };\n}\n\n",
            "language": 5,
            "settingOnError": {
              "switch": false,
              "processType": 1,
              "timeoutMs": 60000,
              "retryTimes": 0
            }
          },
          "outputs": [
            {
              "type": "boolean",
              "name": "is_image",
              "required": false
            }
          ],
          "version": "v2"
        },
        "_temp": {
          "bounds": {
            "x": 460,
            "y": 106,
            "width": 360,
            "height": 112
          },
          "externalData": {
            "icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/dvsmryvd_avi_dvsm/ljhwZthlaukjlkulzlp/icon/icon-Code-v2.jpg",
            "description": "编写代码,处理输入变量来生成返回值",
            "title": "代码",
            "mainColor": "#00B2B2"
          }
        }
      },
      {
        "id": "185817",
        "type": "8",
        "meta": {
          "position": {
            "x": 1100,
            "y": 93
          }
        },
        "data": {
          "nodeMeta": {
            "description": "连接多个下游分支,若设定的条件成立则仅运行对应的分支,若均不成立则只运行“否则”分支",
            "icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/dvsmryvd_avi_dvsm/ljhwZthlaukjlkulzlp/icon/icon-Condition-v2.jpg",
            "mainColor": "#00B2B2",
            "subTitle": "选择器",
            "title": "选择器"
          },
          "inputs": {
            "branches": [
              {
                "condition": {
                  "logic": 2,
                  "conditions": [
                    {
                      "operator": 11,
                      "left": {
                        "input": {
                          "type": "boolean",
                          "value": {
                            "type": "ref",
                            "content": {
                              "source": "block-output",
                              "blockID": "140499",
                              "name": "is_image"
                            },
                            "rawMeta": {
                              "type": 3
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            ]
          }
        },
        "_temp": {
          "bounds": {
            "x": 920,
            "y": 93,
            "width": 360,
            "height": 138
          },
          "externalData": {
            "icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/dvsmryvd_avi_dvsm/ljhwZthlaukjlkulzlp/icon/icon-Condition-v2.jpg",
            "description": "连接多个下游分支,若设定的条件成立则仅运行对应的分支,若均不成立则只运行“否则”分支",
            "title": "选择器",
            "mainColor": "#00B2B2"
          }
        }
      },
      {
        "id": "195226",
        "type": "32",
        "meta": {
          "position": {
            "x": 2480,
            "y": 105
          }
        },
        "data": {
          "inputs": {
            "mergeGroups": [
              {
                "name": "Group1",
                "variables": [
                  {
                    "type": "string",
                    "value": {
                      "type": "ref",
                      "content": {
                        "source": "block-output",
                        "blockID": "106987",
                        "name": "pdf_content"
                      },
                      "rawMeta": {
                        "type": 1
                      }
                    }
                  },
                  {
                    "type": "string",
                    "value": {
                      "type": "ref",
                      "content": {
                        "source": "block-output",
                        "blockID": "131462",
                        "name": "content"
                      },
                      "rawMeta": {
                        "type": 1
                      }
                    }
                  }
                ]
              }
            ]
          },
          "nodeMeta": {
            "description": "对多个分支的输出进行聚合处理",
            "icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/dvsmryvd_avi_dvsm/ljhwZthlaukjlkulzlp/icon/VariableMerge-icon.jpg",
            "mainColor": "#00B2B2",
            "subTitle": "变量聚合",
            "title": "变量聚合"
          },
          "outputs": [
            {
              "type": "string",
              "name": "Group1"
            }
          ]
        },
        "_temp": {
          "bounds": {
            "x": 2300,
            "y": 105,
            "width": 360,
            "height": 114
          },
          "externalData": {
            "icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/dvsmryvd_avi_dvsm/ljhwZthlaukjlkulzlp/icon/VariableMerge-icon.jpg",
            "description": "对多个分支的输出进行聚合处理",
            "title": "变量聚合",
            "mainColor": "#00B2B2"
          }
        }
      },
      {
        "id": "131462",
        "type": "5",
        "meta": {
          "position": {
            "x": 1977.327080890973,
            "y": -67.50762016412659
          }
        },
        "data": {
          "nodeMeta": {
            "description": "编写代码,处理输入变量来生成返回值",
            "icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/dvsmryvd_avi_dvsm/ljhwZthlaukjlkulzlp/icon/icon-Code-v2.jpg",
            "title": "图片内容聚合",
            "subTitle": "代码"
          },
          "inputs": {
            "inputParameters": [
              {
                "name": "results",
                "input": {
                  "type": "list",
                  "schema": {
                    "type": "object",
                    "schema": [
                      {
                        "type": "list",
                        "name": "words",
                        "schema": {
                          "type": "object",
                          "schema": [
                            {
                              "type": "string",
                              "name": "lang",
                              "required": false,
                              "description": "文本语种代码"
                            },
                            {
                              "type": "string",
                              "name": "text",
                              "required": false,
                              "description": "文本内容"
                            }
                          ]
                        },
                        "required": false,
                        "description": "返回结果"
                      }
                    ]
                  },
                  "value": {
                    "type": "ref",
                    "content": {
                      "source": "block-output",
                      "blockID": "119959",
                      "name": "data.results"
                    },
                    "rawMeta": {
                      "type": 103
                    }
                  }
                }
              }
            ],
            "code": "// 在这里,您可以通过 'params'  获取节点中的输入变量,并通过 'ret' 输出结果\n// 'params' 已经被正确地注入到环境中\n// 下面是一个示例,获取节点输入中参数名为'input'的值:\n// const input = params.input; \n// 下面是一个示例,输出一个包含多种数据类型的 'ret' 对象:\n// const ret = { \"name\": '小明', \"hobbies\": [\"看书\", \"旅游\"] };\n\nasync function main({ params }) {\n  const results = params.results || [];\n  const texts = [];\n\n  for (const item of results) {\n    const words = item.words || [];\n    for (const word of words) {\n      if (word && word.text) {\n        texts.push(word.text);\n      }\n    }\n  }\n\n  return {\n    content: texts.join(\"\\n\")\n  };\n}\n\n",
            "language": 5,
            "settingOnError": {
              "switch": false,
              "processType": 1,
              "timeoutMs": 60000,
              "retryTimes": 0
            }
          },
          "outputs": [
            {
              "type": "string",
              "name": "content",
              "required": false
            }
          ],
          "version": "v2"
        },
        "_temp": {
          "bounds": {
            "x": 1797.327080890973,
            "y": -67.50762016412659,
            "width": 360,
            "height": 112
          },
          "externalData": {
            "icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/dvsmryvd_avi_dvsm/ljhwZthlaukjlkulzlp/icon/icon-Code-v2.jpg",
            "description": "编写代码,处理输入变量来生成返回值",
            "title": "代码",
            "mainColor": "#00B2B2"
          }
        }
      }
    ],
    "edges": [
      {
        "sourceNodeID": "195226",
        "targetNodeID": "193002"
      },
      {
        "sourceNodeID": "193002",
        "targetNodeID": "900001"
      },
      {
        "sourceNodeID": "185817",
        "targetNodeID": "106987",
        "sourcePortID": "false"
      },
      {
        "sourceNodeID": "106987",
        "targetNodeID": "195226"
      },
      {
        "sourceNodeID": "100001",
        "targetNodeID": "140499"
      },
      {
        "sourceNodeID": "185817",
        "targetNodeID": "119959",
        "sourcePortID": "true"
      },
      {
        "sourceNodeID": "119959",
        "targetNodeID": "131462"
      },
      {
        "sourceNodeID": "140499",
        "targetNodeID": "185817"
      },
      {
        "sourceNodeID": "131462",
        "targetNodeID": "195226"
      }
    ]
  },
  "bounds": {
    "x": 0,
    "y": -79.50762016412659,
    "width": 3580,
    "height": 366.46658851113716
  }
}

测试文件

简历文件-演示.zip下载
© 小由和小迪
创建更新
浏览1