From dd82b5b52a43065658d3d9bfe77f197cb787a466 Mon Sep 17 00:00:00 2001 From: "weirui.kwr@alibaba-inc.com" Date: Wed, 13 Mar 2024 19:49:14 +0800 Subject: [PATCH] update README --- examples/groupchat/README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/groupchat/README.md b/examples/groupchat/README.md index 924508dbe..023cf6467 100644 --- a/examples/groupchat/README.md +++ b/examples/groupchat/README.md @@ -63,16 +63,16 @@ The `DEFAULT_TOPIC` variable defines the initial message or topic of the chat ro To customize this message, modify the `DEFAULT_TOPIC` variable in the `main.py` script. For instance, if you want to set the default topic to discuss "The Future of Artificial Intelligence," you would change the code as follows: ```python -DEFAULT_TOPIC = "Let's discuss the future of Artificial Intelligence." -``` +DEFAULT_TOPIC = """ +This is a chat room about the Future of Artificial Intelligence and you can +speak freely and briefly. -Remember to update the hint message sent to the `msghub` accordingly: +You can designate a member to reply to your message, you can use the @ symbol. +This means including the @ symbol in your message, followed by +that person's name, and leaving a space after the name. -```python -hint = Msg( - name="Host", - content=DEFAULT_TOPIC, -) +All participants are: {agent_names} +""" ``` With these customizations, the chat room can be tailored to fit specific themes or time constraints, enhancing the user's control over the chat experience.