Class: DSPy::Instrumentation::PredictValidationErrorEvent
- Inherits:
-
T::Struct
- Object
- T::Struct
- DSPy::Instrumentation::PredictValidationErrorEvent
- Extended by:
- T::Sig
- Defined in:
- lib/dspy/instrumentation/event_payloads.rb
Overview
Validation error event (emit, not instrument)
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
463 464 465 466 467 468 469 470 471 472 473 |
# File 'lib/dspy/instrumentation/event_payloads.rb', line 463 def to_h { timestamp: , status: status, signature_class: signature_class, module_name: module_name, field_name: field_name, error_message: , retry_count: retry_count } end |