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 (Language Model) 在解决复杂任务方面存在困难,通常需要花费大量时间进行无法控制的提示工程处理。本文介绍一种新型的人-LLM交互框架,即低代码LLM。它包含六种简单的低代码视觉编程交互类型,所有交互都支持点击、拖动或文本编辑,以实现更可控和稳定的响应。通过通过图形用户界面进行视觉交互,用户可以将自己的想法纳入工作流程中,无需编写繁琐的提示。提出的低代码LLM框架由一个规划LLM组成,设计复杂任务的结构化规划工作流程,用户可以通过低代码视觉编程操作相应地进行编辑和确认,以及一个执行LLM,按照用户确认的工作流程生成响应。我们强调低代码LLM有三个优点:可控的生成结果、人-LLM友好的交互方式和广泛适用的场景。我们使用四个典型应用程序演示了它的好处。通过引入这种方法,我们旨在弥合人与LLM之间的差距,实现更有效、更高效地利用LLM解决复杂任务。我们的系统将很快在 LowCodeLLM 上公开提供。