Effectively utilizing LLMs for complex tasks is challenging, often involving a time-consuming and uncontrollable prompt engineering process. This paper introduces a novel human-LLM interaction framework, Low-code LLM. It incorporates six types of simple low-code visual programming interactions, all supported by clicking, dragging, or text editing, to achieve more controllable and stable responses. Through visual interaction with a graphical user interface, users can incorporate their ideas into the workflow without writing trivial prompts. The proposed Low-code LLM framework consists of a Planning LLM that designs a structured planning workflow for complex tasks, which can be correspondingly edited and confirmed by users through low-code visual programming operations, and an Executing LLM that generates responses following the user-confirmed workflow. We highlight three advantages of the low-code LLM: controllable generation results, user-friendly human-LLM interaction, and broadly applicable scenarios. We demonstrate its benefits using four typical applications. By introducing this approach, we aim to bridge the gap between humans and LLMs, enabling more effective and efficient utilization of LLMs for complex tasks. Our system will be soon publicly available at LowCodeLLM.
翻译:利用LLM进行复杂任务的有效性具有挑战性,通常涉及耗时且难以控制的提示编制过程。本文介绍了一种新颖的人-LLM交互框架——低代码LLM。它包含六种简单的低代码可视化编程交互方式,所有交互都通过点击、拖拽或文本编辑来支持,以实现更可控和稳定的响应。通过与图形用户界面进行视觉交互,用户可以在不编写繁琐的提示的情况下将自己的想法纳入工作流程。所提出的低代码LLM框架由规划LLM和执行LLM组成。前者为复杂任务设计了结构化的规划工作流程,用户可以通过低代码可视化编程操作相应地编辑和确认其任务流程,后者生成用户确认后的工作流程所对应的响应。我们强调低代码LLM的三个优点:可控的生成结果、用户友好的人-LLM交互和广泛适用的场景。我们使用四个典型的应用程序展示了其优越性能。通过介绍这种方法,我们旨在弥合人类和LLM之间的差距,使LLM能更有效地应用于复杂任务。我们的系统将很快在LowCodeLLM上公开。