Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix grammar and spelling in agentchat_chess.ipynb #346

Merged
merged 1 commit into from
Oct 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions notebook/agentchat_chess.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"source": [
"# Auto Generated Agent Chat: Chess Game Playing While Chitchatting by GPT-4 Agents\n",
"\n",
"AutoGen offers conversable agents powered by LLM, tool or human, which can be used to perform tasks collectively via automated chat. This framework allows tool use and human participation through multi-agent conversation.\n",
"AutoGen offers conversable agents powered by LLM, tool, or human, which can be used to perform tasks collectively via automated chat. This framework allows tool use and human participation through multi-agent conversation.\n",
"Please find documentation about this feature [here](https://microsoft.github.io/autogen/docs/Use-Cases/agent_chat).\n",
"\n",
"This notebook is modified based on https://github.com/ekzhu/FLAML/blob/evaluation/evaluation/chess/play_chess.ipynb\n",
Expand Down Expand Up @@ -119,7 +119,7 @@
"]\n",
"```\n",
"\n",
"If you open this notebook in colab, you can upload your files by clicking the file icon on the left panel and then choose \"upload file\" icon.\n",
"If you open this notebook in colab, you can upload your files by clicking the file icon on the left panel and then choosing \"upload file\" icon.\n",
"\n",
"You can set the value of config_list in other ways you prefer, e.g., loading from a YAML file."
]
Expand All @@ -144,8 +144,8 @@
"from typing import Any, Dict, List, Optional, Union\n",
"\n",
"sys_msg = \"\"\"You are an AI-powered chess board agent.\n",
"You translate user's natural language input into legal UCI moves.\n",
"You should only reply with a UCI move string extracted from user's input.\"\"\"\n",
"You translate the user's natural language input into legal UCI moves.\n",
"You should only reply with a UCI move string extracted from the user's input.\"\"\"\n",
"\n",
"class BoardAgent(autogen.AssistantAgent):\n",
" board: chess.Board\n",
Expand Down Expand Up @@ -197,7 +197,7 @@
"You are playing as {color}. \n",
"You communicate your move using universal chess interface language.\n",
"You also chit-chat with your opponent when you communicate a move to light up the mood.\n",
"You should make sure both you and the opponent are making legal moves.\n",
"You should ensure both you and the opponent are making legal moves.\n",
"Do not apologize for making illegal moves.\"\"\"\n",
"\n",
"\n",
Expand Down
Loading