stanfordnlp / dspy

DSPy: The framework for programming—not prompting—language models
https://dspy.ai
MIT License
19.06k stars 1.46k forks source link

Add the `__doc__` of Signature class to system message #1837

Closed yanmxa closed 1 day ago

yanmxa commented 1 day ago

Signed-off-by: myan myan@redhat.com

Resolve: https://github.com/stanfordnlp/dspy/issues/1836

okhat commented 1 day ago

Hey @yanmxa , the __doc__ is already in there right?

See https://github.com/stanfordnlp/dspy/blob/b73bcc367907425ca299200a4c3452a5d3b8f2cd/dspy/adapters/chat_adapter.py#L409