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 while minimizing the impact of ChatGPT's token limit. 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 adjust ChatGPT's output with natural language feedback 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 上公开获取。