mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-12 01:02:37 +02:00
update requirement and example, recover legacy code
This commit is contained in:
parent
a680a1a82f
commit
e960ac8dc8
4 changed files with 30 additions and 6 deletions
|
|
@ -19,29 +19,31 @@ class TaskTypeDef(BaseModel):
|
|||
|
||||
|
||||
class TaskType(Enum):
|
||||
"""By identifying specific types of tasks, we can inject human priors (guidance) to help task solving"""
|
||||
|
||||
EDA = TaskTypeDef(
|
||||
name="eda",
|
||||
desc="For performing exploratory data analysis",
|
||||
guidance=EDA_PROMPT,
|
||||
)
|
||||
DATA_PREPROCESS = TaskTypeDef(
|
||||
name="data_preprocess",
|
||||
name="data preprocessing",
|
||||
desc="For preprocessing dataset in a data analysis or machine learning task ONLY,"
|
||||
"general data operation doesn't fall into this type",
|
||||
guidance=DATA_PREPROCESS_PROMPT,
|
||||
)
|
||||
FEATURE_ENGINEERING = TaskTypeDef(
|
||||
name="feature_engineering",
|
||||
name="feature engineering",
|
||||
desc="Only for creating new columns for input data.",
|
||||
guidance=FEATURE_ENGINEERING_PROMPT,
|
||||
)
|
||||
MODEL_TRAIN = TaskTypeDef(
|
||||
name="model_train",
|
||||
name="model train",
|
||||
desc="Only for training model.",
|
||||
guidance=MODEL_TRAIN_PROMPT,
|
||||
)
|
||||
MODEL_EVALUATE = TaskTypeDef(
|
||||
name="model_evaluate",
|
||||
name="model evaluate",
|
||||
desc="Only for evaluating model.",
|
||||
guidance=MODEL_EVALUATE_PROMPT,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue