Class: SimpleAcp::Models::TrajectoryMetadata
- Defined in:
- lib/simple_acp/models/metadata.rb
Overview
Trajectory metadata for tracking multi-step reasoning
Class Method Summary collapse
Methods inherited from Base
#==, attribute, attributes, #hash, #initialize, own_attributes, #to_h, #to_json
Constructor Details
This class inherits a constructor from SimpleAcp::Models::Base
Class Method Details
.from_hash(hash) ⇒ Object
30 31 32 33 34 35 |
# File 'lib/simple_acp/models/metadata.rb', line 30 def self.from_hash(hash) return nil if hash.nil? return nil unless hash["kind"] == "trajectory" || hash[:kind] == "trajectory" super end |