From e315f61f60fe1a3bcbcdde3df115a2314673a2dd Mon Sep 17 00:00:00 2001 From: seehi <6580@pm.me> Date: Mon, 15 Jul 2024 17:10:34 +0800 Subject: [PATCH] update comment --- metagpt/exp_pool/context_builders/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/metagpt/exp_pool/context_builders/base.py b/metagpt/exp_pool/context_builders/base.py index f937f5c7b..691d51c8c 100644 --- a/metagpt/exp_pool/context_builders/base.py +++ b/metagpt/exp_pool/context_builders/base.py @@ -7,7 +7,7 @@ from pydantic import BaseModel, ConfigDict from metagpt.exp_pool.schema import Experience -EXP_TEMPLATE = """Given the request: {req}, We can get the response: {resp}, Which scored: {score}.""" +EXP_TEMPLATE = """Given the request: {req}, We can get the response: {resp}, which scored: {score}.""" class BaseContextBuilder(BaseModel, ABC): @@ -26,8 +26,8 @@ class BaseContextBuilder(BaseModel, ABC): """Format experiences into a numbered list of strings. Example: - 1. Given the request: req1, We can get the response: resp1, Which scored: 8. - 2. Given the request: req2, We can get the response: resp2, Which scored: 9. + 1. Given the request: req1, We can get the response: resp1, which scored: 8. + 2. Given the request: req2, We can get the response: resp2, which scored: 9. Returns: str: The formatted experiences as a string.