Skip to content

Commit

Permalink
Fix grammar and spelling in agentchat_chess.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
shruti222patel authored Oct 22, 2023
1 parent ca2e0b8 commit 75a2a92
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit 75a2a92

Please sign in to comment.