Open manankalra opened 1 month ago
https://github.com/stanfordnlp/dspy/blob/main/dspy%2Fsignatures%2Ffield.py#L22
The description kwarg for pydantic should suffice. You can subclass Field to include the title, description and examples into description.
The README contains this example for using Pydantic types within a Signature. Is there a way to provide descriptions for individual properties in the Pydantic model that will be used by the prompt?