dspy icon indicating copy to clipboard operation
dspy copied to clipboard

Default signature instruction bug

Open Shangyint opened this issue 3 months ago • 0 comments

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.

Shangyint avatar Oct 28 '24 01:10 Shangyint