Sha256: d420f46e194c4bf84ae98061dafa651a525d090e1a6fec25225e06bf225e22cb

Contents?: true

Size: 300 Bytes

Versions: 2

Compression:

Stored size: 300 Bytes

Contents

# frozen_string_literal: true

module GenAI
  class Chunk
    attr_reader :raw, :provider, :model, :value, :index

    def initialize(provider:, model:, index:, raw:, value:)
      @raw = raw
      @index = index
      @provider = provider
      @model = model
      @value = value
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gen-ai-0.4.3 lib/gen_ai/core/chunk.rb
gen-ai-0.4.2 lib/gen_ai/core/chunk.rb