Sha256: 3e1555998b8c270ef623260ad995fab3ab4a6f8304a5589c56fb50836fc06e2a
Contents?: true
Size: 333 Bytes
Versions: 28
Compression:
Stored size: 333 Bytes
Contents
# frozen_string_literal: true module Boxcars module VectorStore class Document attr_accessor :content, :metadata, :embedding def initialize(fields = {}) @content = fields[:content] || "" @embedding = fields[:embedding] || [] @metadata = fields[:metadata] || {} end end end end
Version data entries
28 entries across 28 versions & 1 rubygems