File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ class GenerateWordLimitedInstruction(dspy.Signature):
188
188
""" Given a current instruction and feedback examples, generate an improved instruction with word limit constraints."""
189
189
190
190
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 " )
192
192
max_words = dspy.InputField(desc = " Maximum number of words allowed in the new instruction" )
193
193
194
194
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):
217
217
# Use the module to improve the instruction
218
218
result = self .instruction_improver(
219
219
current_instruction = current_instruction,
220
- issues_found = feedback_text,
220
+ feedback_summary = feedback_text,
221
221
max_words = self .max_words
222
222
)
223
223
You can’t perform that action at this time.
0 commit comments