Sha256: 32b0b08179ee5810d886f6904c90392cc40012f91fefe0b3b0da0091d06336e6
Contents?: true
Size: 379 Bytes
Versions: 13
Compression:
Stored size: 379 Bytes
Contents
module OpenAISwarm class FunctionDescriptor attr_reader :target_method, :description, :parameters def initialize(target_method:, description: '', parameters: nil) @target_method = target_method.is_a?(Method) ? target_method : method(target_method) @description = description @parameters = parameters end end end
Version data entries
13 entries across 13 versions & 1 rubygems