Sha256: de1337ec3d0abb048e48fabe1401aa2b3e155e3faf0c2c9229baf0e28a2fa563

Contents?: true

Size: 239 Bytes

Versions: 20

Compression:

Stored size: 239 Bytes

Contents

class Ollama::Tool::Function::Parameters::Property
  include Ollama::DTO

  attr_reader :type, :description, :enum

  def initialize(type:, description:, enum: nil)
    @type, @description, @enum = type, description, Array(enum)
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
ollama-ruby-0.12.1 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.12.0 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.11.0 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.10.0 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.9.3 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.9.2 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.9.1 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.9.0 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.8.0 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.7.0 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.6.0 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.5.0 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.4.0 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.3.2 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.3.1 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.3.0 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.2.0 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.1.0 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.0.1 lib/ollama/tool/function/parameters/property.rb
ollama-ruby-0.0.0 lib/ollama/tool/function/parameters/property.rb