| 注册
首页|期刊导航|计算机技术与发展|少样本提示驱动的即插即用式复杂任务处理方法

少样本提示驱动的即插即用式复杂任务处理方法

何健军

计算机技术与发展2026,Vol.36Issue(3):45-52,8.
计算机技术与发展2026,Vol.36Issue(3):45-52,8.DOI:10.20165/j.cnki.ISSN1673-629X.2025.0275

少样本提示驱动的即插即用式复杂任务处理方法

Complex Task Handling Method of Plug-and-play with Few-shot Prompting

何健军1

作者信息

  • 1. 中国电子科技集团公司第十研究所,四川 成都 610036
  • 折叠

摘要

Abstract

As large language models(LLM)demonstrate significant potential in complex task reasoning and decision-making,an increasing number of studies are focusing on how to utilize LLM for task planning and tool calling.To achieve better results,most methods require fine-tuning of the model,yet high-quality training data is always scarce,preventing these methods from being rapidly applied in the field.To address these issues,we propose a plug-and-play method for complex task handling with few-shot prompting(PnP-FSP).It fully utilizes few-shot prompting for complex task analysis and processing,eliminating the need for LLM fine-tuning.To facilitate rapid application of the proposed method in vertical fields,a task planning strategy based on a task planning reference library is proposed.Use cases in the reference library that are similar to user questions are used as prompt contexts to assist in the rapid planning of complex problems.Additionally,a subsequent task adjustment mechanism based on the results of previous tasks is introduced,effectively addressing the issue of one-step planning methods that emphasize the global nature of task planning while ignoring dynamic changes during task execution.Furthermore,PnP-FSP decouples complex task processing flows such as task planning and tool calling,al-lowing for the selection of advantageous LLM based on actual needs.It achieves optimal collaboration among LLMs in a plug-and-play manner to complete the target task.Experimental results show that PnP-FSP outperforms mainstream complex task handling methods while significantly reducing dependence on supervised data.

关键词

大语言模型/任务规划/工具调用/少样本提示/深度学习

Key words

large language model/task planning/tool calling/few-shot prompting/deep learning

分类

信息技术与安全科学

引用本文复制引用

何健军..少样本提示驱动的即插即用式复杂任务处理方法[J].计算机技术与发展,2026,36(3):45-52,8.

计算机技术与发展

1673-629X

访问量0
|
下载量0
段落导航相关论文