The invention provides an interactive question and answer task
processing method based on multi-agent cooperation and a related device, and relates to the technical field of
artificial intelligence such as generative large language models and agents. The method comprises the steps of determining a to-be-solved target task according to
natural language input of a user; the target task is decomposed into a plurality of sub-target tasks at least including interactive question and answer tasks, each sub-target task is correspondingly issued to each sub-target agent at least including an interactive question and answer agent, and different sub-agents are used for
processing different types of sub-tasks; the interactive question-answering agent is controlled to present an interactive
graphical user interface corresponding to the interactive question-answering task to the user, an answer result corresponding to the received feedback answer is presented, and the interactive
graphical user interface comprises a question and an interactive answer area; an associated sub-target agent in the multiple sub-target agents is controlled to generate a corresponding associated
processing result based on an answer result output by the interactive question and answer agent, and the associated sub-target agent is a sub-target agent which depends on the answer result and serves as part of task input information; and determining a target processing result corresponding to the target task based on the association processing result. Through application of the scheme, a better comprehensive task processing effect can be brought under the condition of lower comprehensive cost, especially for an interactive question and answer task in which a
user needs to subjectively answer a proposed question and the effect is checked according to an answer result; the interactive questioning and answering agent provides the interactive graphical interface containing the question and the interactive answering area for the user, so that the task requirement of the user can be met more quickly in an interactive answering mode, and the task solving effect is improved.