Skip to content

dspy.Prediction

dspy.Prediction(*args, **kwargs)

Bases: Example

Source code in dspy/primitives/prediction.py
def __init__(self, *args, **kwargs):
    super().__init__(*args, **kwargs)

    del self._demos
    del self._input_keys

    self._completions = None