Class: DSPy::Teleprompt::ScoreWithFeedback

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/dspy/teleprompt/gepa.rb

Overview

Extended prediction result with score and feedback

Instance Method Summary collapse

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