Class: Woods::Storage::VectorStore::SearchResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/woods/storage/vector_store.rb

Overview

Value object representing a single search result.

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



106
107
108
# File 'lib/woods/storage/vector_store.rb', line 106

def id
  @id
end

#metadataObject

Returns the value of attribute metadata

Returns:

  • (Object)

    the current value of metadata



106
107
108
# File 'lib/woods/storage/vector_store.rb', line 106

def 
  @metadata
end

#scoreObject

Returns the value of attribute score

Returns:

  • (Object)

    the current value of score



106
107
108
# File 'lib/woods/storage/vector_store.rb', line 106

def score
  @score
end