From d9763c3af74f6b4c0ad2df1c5f7d9da72f8432a1 Mon Sep 17 00:00:00 2001 From: yizhangliu <510092981@qq.com> Date: Fri, 19 Jul 2024 20:05:04 +0800 Subject: [PATCH 1/4] Update 101-agentscope.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 信息-->消息 --- docs/sphinx_doc/zh_CN/source/tutorial/101-agentscope.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sphinx_doc/zh_CN/source/tutorial/101-agentscope.md b/docs/sphinx_doc/zh_CN/source/tutorial/101-agentscope.md index f3bf665f2..52795576e 100644 --- a/docs/sphinx_doc/zh_CN/source/tutorial/101-agentscope.md +++ b/docs/sphinx_doc/zh_CN/source/tutorial/101-agentscope.md @@ -21,7 +21,7 @@ AgentScope是以开发者为中心的多智能体平台,它使开发者能够 ## 关键概念 -### 信息(Message) +### 消息(Message) 是信息的载体(例如指令、多模态数据和对话内容)。在AgentScope中,消息是Python字典的子类, 具有`name`和`content`作为必要字段,`url`作为可选字段并指向额外的资源。 From fffc7840c9f104b4e7dfe27e75ed0bccce8cc9bb Mon Sep 17 00:00:00 2001 From: yizhangliu <510092981@qq.com> Date: Fri, 19 Jul 2024 21:24:22 +0800 Subject: [PATCH 2/4] Update 206-prompt.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 时长 --> 时常 --- docs/sphinx_doc/zh_CN/source/tutorial/206-prompt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sphinx_doc/zh_CN/source/tutorial/206-prompt.md b/docs/sphinx_doc/zh_CN/source/tutorial/206-prompt.md index c2767d902..19e59f9fa 100644 --- a/docs/sphinx_doc/zh_CN/source/tutorial/206-prompt.md +++ b/docs/sphinx_doc/zh_CN/source/tutorial/206-prompt.md @@ -11,7 +11,7 @@ AgentScope内置策略的目标是**使初学者能够顺利调用模型API , ## 构建提示面临的挑战 -在多智能体应用中,LLM通常在对话中扮演不同的角色。当使用模型的Chat API时,时长会面临以下挑战: +在多智能体应用中,LLM通常在对话中扮演不同的角色。当使用模型的Chat API时,时常会面临以下挑战: 1. 大多数Chat类型的模型API是为聊天机器人场景设计的,`role`字段只支持`"user"`和`"assistant"`,不支持`name`字段,即API本身不支持角色扮演。 From a21067281ecea3f84855b2011becd352b2cfe311 Mon Sep 17 00:00:00 2001 From: yizhangliu <510092981@qq.com> Date: Mon, 9 Sep 2024 16:45:27 +0800 Subject: [PATCH 3/4] Update main.py Solve the format_map error in router_agent.py --- examples/conversation_with_router_agent/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/conversation_with_router_agent/main.py b/examples/conversation_with_router_agent/main.py index 0624e3996..9ea6ded9c 100644 --- a/examples/conversation_with_router_agent/main.py +++ b/examples/conversation_with_router_agent/main.py @@ -43,7 +43,7 @@ 3. If no agent is suitable to answer user's question, then respond directly. ## Agents You Can Use -The agents are listed in the format of "{index}. {agent_name}: {agent_description}" +The agents are listed in the format of "index. agent_name: agent_description" 1. math: An agent who is good at math. 2. history: An agent who is good at history. """ # noqa From 9dcaee739c8e25fc61d85b26325aa11fbe47866c Mon Sep 17 00:00:00 2001 From: DavdGao Date: Tue, 15 Oct 2024 13:56:43 +0800 Subject: [PATCH 4/4] Re-correct prompt --- examples/conversation_with_router_agent/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/conversation_with_router_agent/main.py b/examples/conversation_with_router_agent/main.py index 9ea6ded9c..0624e3996 100644 --- a/examples/conversation_with_router_agent/main.py +++ b/examples/conversation_with_router_agent/main.py @@ -43,7 +43,7 @@ 3. If no agent is suitable to answer user's question, then respond directly. ## Agents You Can Use -The agents are listed in the format of "index. agent_name: agent_description" +The agents are listed in the format of "{index}. {agent_name}: {agent_description}" 1. math: An agent who is good at math. 2. history: An agent who is good at history. """ # noqa