Skip to content

Commit cad959b

Browse files
committed
Replace issues_found with feedback_summary
1 parent d25b9da commit cad959b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/api/optimizers/GEPA.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class GenerateWordLimitedInstruction(dspy.Signature):
188188
"""Given a current instruction and feedback examples, generate an improved instruction with word limit constraints."""
189189

190190
current_instruction = dspy.InputField(desc="The current instruction that needs improvement")
191-
issues_found = dspy.InputField(desc="Feedback and issues identified from examples")
191+
feedback_summary = dspy.InputField(desc="Feedback from examples that might include both positive and negative cases")
192192
max_words = dspy.InputField(desc="Maximum number of words allowed in the new instruction")
193193

194194
improved_instruction = dspy.OutputField(desc="A new instruction that fixes the issues while staying under the max_words limit")
@@ -217,7 +217,7 @@ class WordLimitProposer(ProposalFn):
217217
# Use the module to improve the instruction
218218
result = self.instruction_improver(
219219
current_instruction=current_instruction,
220-
issues_found=feedback_text,
220+
feedback_summary=feedback_text,
221221
max_words=self.max_words
222222
)
223223

0 commit comments

Comments
 (0)