Sha256: 689a64b9736acf4358980ff27a7b6989a063d3d73b50e3e077f9b617145642a1
Contents?: true
Size: 291 Bytes
Versions: 1
Compression:
Stored size: 291 Bytes
Contents
# frozen_string_literal: true module Boxcars module VectorStores class Document attr_accessor :page_content, :metadata def initialize(fields = {}) @page_content = fields[:page_content] || "" @metadata = fields[:metadata] || {} end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
boxcars-0.2.10 | lib/boxcars/boxcar/vector_stores/document.rb |