stanfordnlp / dspy

DSPy: The framework for programming—not prompting—foundation models
https://dspy-docs.vercel.app/
MIT License
18.53k stars 1.43k forks source link

dsp.settings to modify templates. Where can I find them? #1292

Open Zoher15 opened 3 months ago

Zoher15 commented 3 months ago

I used

dsp.settings.show_guidelines = False

But I still see the following in my template

Given the fields `question`, produce the fields `answer`.

How do I turn this off? Also where can I learn to modify my template more? I would also like to get rid of the --- in the default template. In fact, it would be good to know all the dsp.settings.

okhat commented 3 months ago

You can write a dsp.Signature and pass no docstring so it has empty instructions.