📄️ dspy.TypedPredictor
The TypedPredictor class is a sophisticated module designed for making predictions with strict type validations. It leverages a signature to enforce type constraints on inputs and outputs, ensuring that the data follows to the expected schema.
📄️ dspy.TypedChainOfThought
Overview
📄️ dspy.predictor
Overview
📄️ dspy.cot
Overview