Closed neil-sola closed 2 weeks ago
Hey @neil-sola , could you include an example of what you're saying? Make sure to check with pip install -U dspy
.
Type annotations are, to my knowledge, included and enforced in ChainOfThought, if you're on a recent version of DSPy.
Sorry, after debugging looks like it's an issue on our end - all good here!
Previously with
TypedChainOfThought
, I used a signature with pydantic type annotations - even thoughTypedChainOfThought
is now deprecated, it doesn't include the schema in the prompt if I use the recommendedChainOfThought
in the same way. Is there updated reference on how to achieve this?