mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
update comment
This commit is contained in:
parent
0312f4f728
commit
e315f61f60
1 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue