The invention discloses a task chain construction method and a related device, and relates to the technical field of process
automation, and the task chain construction method comprises the following steps: when a task chain construction demand described by a
natural language is obtained, firstly screening components related to the task chain construction demand from a component
library to obtain a candidate component set, and then, the capability of the large
language model is deeply combined with a
systematic search optimization framework, and a task chain is automatically constructed according to task chain construction requirements and a candidate component set. According to the task chain construction method disclosed by the invention, full-process
automation from demand understanding to task chain generation is realized, so that the construction efficiency of the task chain is remarkably improved, the time and labor cost is reduced, subjective prejudice and uncertainty caused by artificial experience, preference or fatigue are avoided, and the task chain construction efficiency is improved. And meanwhile, the user only needs to describe task chain construction requirements through a
natural language, and does not need to have considerable
domain knowledge, so that the technical threshold is relatively low.