class Ollama::Documents::Record

def ==(other)

def ==(other)
  text == other.text
end

def tags_set

def tags_set
  Ollama::Utils::Tags.new(tags, source:)
end

def to_s

def to_s
  my_tags = tags_set
  my_tags.empty? or my_tags = " #{my_tags}"
  "#<#{self.class} #{text.inspect}#{my_tags} #{similarity || 'n/a'}>"
end