Class: DSPy::Teleprompt::ScoreWithFeedback
- Inherits:
-
T::Struct
- Object
- T::Struct
- DSPy::Teleprompt::ScoreWithFeedback
- Extended by:
- T::Sig
- Defined in:
- lib/dspy/teleprompt/gepa.rb
Overview
Extended prediction result with score and feedback
Instance Method Summary collapse
-
#initialize(score:, prediction:, feedback: nil) ⇒ ScoreWithFeedback
constructor
A new instance of ScoreWithFeedback.
Constructor Details
#initialize(score:, prediction:, feedback: nil) ⇒ ScoreWithFeedback
Returns a new instance of ScoreWithFeedback.
3175 3176 3177 |
# File 'lib/dspy/teleprompt/gepa.rb', line 3175 def initialize(score:, prediction:, feedback: nil) super end |