mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
refine sop
This commit is contained in:
parent
608e0e9f16
commit
d5913970d5
2 changed files with 16 additions and 9 deletions
|
|
@ -26,8 +26,8 @@ PROGRAMMING_LANGUAGE = ActionNode(
|
|||
ORIGINAL_REQUIREMENTS = ActionNode(
|
||||
key="Original Requirements",
|
||||
expected_type=str,
|
||||
instruction="Place the polished, complete original requirements here.",
|
||||
example="The game should have a leaderboard and multiple difficulty levels.",
|
||||
instruction="Place the original user's requirements here.",
|
||||
example="Create a 2048 game",
|
||||
)
|
||||
|
||||
PROJECT_NAME = ActionNode(
|
||||
|
|
@ -41,7 +41,7 @@ PRODUCT_GOALS = ActionNode(
|
|||
key="Product Goals",
|
||||
expected_type=list[str],
|
||||
instruction="Provide up to three clear, orthogonal product goals.",
|
||||
example=["Create an engaging user experience", "Ensure high performance", "Provide customizable features"],
|
||||
example=["Create an engaging user experience", "Improve accessibility, be responsive", "More beautiful UI"],
|
||||
)
|
||||
|
||||
USER_STORIES = ActionNode(
|
||||
|
|
@ -49,8 +49,11 @@ USER_STORIES = ActionNode(
|
|||
expected_type=list[str],
|
||||
instruction="Provide up to 3 to 5 scenario-based user stories.",
|
||||
example=[
|
||||
"As a user, I want to be able to choose difficulty levels",
|
||||
"As a player, I want to be able to choose difficulty levels",
|
||||
"As a player, I want to see my score after each game",
|
||||
"As a player, I want to get restart button when I lose",
|
||||
"As a player, I want to see beautiful UI that make me feel good",
|
||||
"As a player, I want to play game via mobile phone",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
@ -58,7 +61,11 @@ COMPETITIVE_ANALYSIS = ActionNode(
|
|||
key="Competitive Analysis",
|
||||
expected_type=list[str],
|
||||
instruction="Provide 5 to 7 competitive products.",
|
||||
example=["Python Snake Game: Simple interface, lacks advanced features"],
|
||||
example=[
|
||||
"2048 Game A: Simple interface, lacks responsive features",
|
||||
"play2048.co: Beautiful and responsive UI with my best score shown",
|
||||
"2048game.com: Responsive UI with my best score shown, but many ads",
|
||||
],
|
||||
)
|
||||
|
||||
COMPETITIVE_QUADRANT_CHART = ActionNode(
|
||||
|
|
@ -86,7 +93,7 @@ REQUIREMENT_ANALYSIS = ActionNode(
|
|||
key="Requirement Analysis",
|
||||
expected_type=str,
|
||||
instruction="Provide a detailed analysis of the requirements.",
|
||||
example="The product should be user-friendly.",
|
||||
example="",
|
||||
)
|
||||
|
||||
REQUIREMENT_POOL = ActionNode(
|
||||
|
|
@ -107,7 +114,7 @@ ANYTHING_UNCLEAR = ActionNode(
|
|||
key="Anything UNCLEAR",
|
||||
expected_type=str,
|
||||
instruction="Mention any aspects of the project that are unclear and try to clarify them.",
|
||||
example="...",
|
||||
example="",
|
||||
)
|
||||
|
||||
ISSUE_TYPE = ActionNode(
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ class ProductManager(Role):
|
|||
"""
|
||||
name: str = "Alice"
|
||||
profile: str = Field(default="Product Manager")
|
||||
goal: str = "efficiently create a successful product"
|
||||
constraints: str = "use same language as user requirement"
|
||||
goal: str = "efficiently create a successful product that meets market demands and user expectations"
|
||||
constraints: str = "utilize the same language as the user requirements for seamless communication"
|
||||
|
||||
def __init__(self, **kwargs) -> None:
|
||||
super().__init__(**kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue