dspy
dspy copied to clipboard
Default signature instruction bug
If we define ChainOfThought("question -> answer")
, the default signature.instructions
does not get updated when the CoT module does signature.prepend("reasoning", …)
, resulting in the following instruction in the system message “Given the fields question
, produce the fields answer
.” which does not include reasoning as an additional field.