You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -510,8 +510,14 @@ prompt:
510
510
- "Let's enhance this code:"
511
511
- "Time to optimize:"
512
512
- "Improving the algorithm:"
513
+
improvement_suggestion:
514
+
- "Here's how we could improve this code:"
515
+
- "I suggest the following improvements:"
516
+
- "We can enhance this code by:"
513
517
```
514
518
519
+
**How it works:** Place `{greeting}` or `{improvement_suggestion}` placeholders in your templates, and OpenEvolve will randomly choose from the variations for each generation, adding diversity to prompts.
520
+
515
521
See [prompt examples](examples/llm_prompt_optimization/templates/) for complete template customization.
0 commit comments