This paper demonstrates how OpenAI's ChatGPT can be used in a few-shot setting to convert natural language instructions into an executable robot action sequence. The paper proposes easy-to-customize input prompts for ChatGPT that meet common requirements in practical applications, such as easy integration with robot execution systems and applicability to various environments. The prompts encourage ChatGPT to output a sequence of predefined robot actions, represent the operating environment in a formalized style, and infer the updated state of the operating environment. Experiments confirmed that the proposed prompts enable ChatGPT to act according to requirements in various environments, and users can modify ChatGPT's output using natural language for safe and robust operation. The proposed prompts and source code are open-source and publicly available at https://github.com/microsoft/ChatGPT-Robot-Manipulation-Prompts
翻译:本文演示了如何利用 OpenAI 的 ChatGPT 在 few-shot 设置下将自然语言指令转换为可执行的机器人动作序列。本文提出了易于定制的 ChatGPT 输入提示,以满足在实际应用中的常见要求,例如与机器人执行系统的轻松集成和适用于各种环境。这些提示鼓励 ChatGPT 输出一系列预定义的机器人动作,以正式的方式表示操作环境,并推断操作环境的更新状态。实验证明,所提出的提示使 ChatGPT 能够根据各种环境的要求进行行动,用户可以使用自然语言修改 ChatGPT 输出,以实现安全和稳健的运行。所提出的提示和源代码是开源的,并可以在 https://github.com/microsoft/ChatGPT-Robot-Manipulation-Prompts 上公开获取。