Skip to content

Commit

Permalink
Update chat-termination.ipynb (microsoft#2393)
Browse files Browse the repository at this point in the history
fix grammar mistake
  • Loading branch information
DustinX committed Apr 16, 2024
1 parent 1c5e780 commit cc85966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/tutorial/chat-termination.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
"You can also terminate a conversation by configuring parameters of an agent.\n",
"Currently, there are two parameters you can configure:\n",
"\n",
"1. `max_consecutive_auto_reply`: This condition trigger termination if the number of automatic responses to the same sender exceeds a threshold. You can customize this using the `max_consecutive_auto_reply` argument of the `ConversableAgent` class. To accomplish this the agent maintains a counter of the number of consecutive automatic responses to the same sender. Note that this counter can be reset because of human intervention. We will describe this in more detail in the next chapter.\n",
"1. `max_consecutive_auto_reply`: This condition triggers termination if the number of automatic responses to the same sender exceeds a threshold. You can customize this using the `max_consecutive_auto_reply` argument of the `ConversableAgent` class. To accomplish this the agent maintains a counter of the number of consecutive automatic responses to the same sender. Note that this counter can be reset because of human intervention. We will describe this in more detail in the next chapter.\n",
"2. `is_termination_msg`: This condition can trigger termination if the _received_ message satisfies a particular condition, e.g., it contains the word \"TERMINATE\". You can customize this condition using the `is_terminate_msg` argument in the constructor of the `ConversableAgent` class."
]
},
Expand Down

0 comments on commit cc85966

Please sign in to comment.