Class: DSPy::ReAct::AvailableTool

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/dspy/re_act.rb

Overview

AvailableTool struct for better type safety in ReAct agents Schema is stored as a pre-serialized string (JSON or BAML) to avoid T.untyped issues during schema format conversion