安装依赖库:
pip install -r requirements.txt
- /frchat
- bot_*.py - 用于不同场景的chatbot
- gui_*.py - 集成了chatbot的GUI
- init_*.py - 用于不同场景的prompt
- /fr_python_sdk
- 机器人的Python SDK
- /frmovewrapper
- Python SDK中运动指令的封装
- /script
- GUI启动脚本
通过 /script 中的脚本启动 /frchat 中的GUI,例如
python /script/chatbot_gui_palletize.py
启动ChatGPT码垛GUI。
- 定义对话的目的和重心
- 语言要具体,内容要相关
- 避免开放、宽泛的prompts
- 避免对话离题
- 对术语进行定义
- 避免使用带有歧义的语言
- 使用清晰、明确的语言
"Hey there! Can you give me some intel on the latest happenings in the interwebz? I'm trying to get a handle on the zeitgeist."
"What are the best restaurants in Paris that serve vegetarian food? I'm planning a trip to Paris and I'm looking for some good places to eat that cater to my dietary needs."
- 明确目的和重心
- 使用具体、相关的语言
- 避免开放、宽泛的prompts
- 按照CC原则检查、修改prompts
- 用清晰明确的prompt开启对话
- 鼓励ChatGPT完善回答
- 注意说话的语气,忌过度随意、轻蔑
- 时刻注意对话的走向,并做出必要的调整
创建沉浸式的对话情景,模拟真实世界的场景
- I want you to act as a javascript console.
- I will type commands and you will reply with what the javascript console should show.
- I want you to only reply with the terminal output inside one unique code block, and nothing else.
- Do not write explanations.
- Do not type commands unless I instruct you to do so.
- When I need to tell you something in english, i will do so by putting text inside curly brackets {like this}.
- My first command is console.log("Hello World");