Method: Agentic::ExpectedAnswerFormat#to_h
- Defined in:
- lib/agentic/expected_answer_format.rb
#to_h ⇒ Hash
Returns a serializable representation of the expected answer format
27 28 29 30 31 32 33 |
# File 'lib/agentic/expected_answer_format.rb', line 27 def to_h { "format" => @format, "sections" => @sections, "length" => @length } end |