mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-01 03:46:23 +02:00
add an instruction to avoid splitting instruction being replaced
This commit is contained in:
parent
345d79979d
commit
5eaa072d8d
1 changed files with 4 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ from expo.utils import clean_json_from_rsp, load_data_config, mcts_logger
|
|||
from metagpt.llm import LLM
|
||||
from metagpt.schema import Message
|
||||
|
||||
REFLECTION_SYSTEM_MSG = "As a Kaggle grandmaster participating in a competition, you need to analyze your experience and propose evolutionary points that are more likely to improve the performance of baseline code."
|
||||
REFLECTION_SYSTEM_MSG = "As a Kaggle Grandmaster competing in a challenge, your task is to suggest potential evolutionary improvements that could enhance the performance of the baseline code."
|
||||
|
||||
CHANGE_INSTRUCTION = """
|
||||
# Original instruction
|
||||
|
|
@ -17,7 +17,9 @@ CHANGE_INSTRUCTION = """
|
|||
# Insights
|
||||
{insights}
|
||||
|
||||
Rewrite the original instruction according to the insights
|
||||
Rewrite the original instruction according to the insights
|
||||
(If the original instruction involves splitting the data, ensure that your insights are integrated with the data split instructions,
|
||||
rather than replacing them.)
|
||||
|
||||
# Expected Output Hard Format
|
||||
```json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue