Class: EmbeddingUtil::RankedDocument

Inherits:
Data
  • Object
show all
Defined in:
lib/embedding_util/result.rb

Instance Attribute Summary collapse

Instance Attribute Details

#documentObject (readonly)

Returns the value of attribute document

Returns:

  • (Object)

    the current value of document



5
6
7
# File 'lib/embedding_util/result.rb', line 5

def document
  @document
end

#indexObject (readonly)

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



5
6
7
# File 'lib/embedding_util/result.rb', line 5

def index
  @index
end

#metadataObject (readonly)

Returns the value of attribute metadata

Returns:

  • (Object)

    the current value of metadata



5
6
7
# File 'lib/embedding_util/result.rb', line 5

def 
  @metadata
end

#scoreObject (readonly)

Returns the value of attribute score

Returns:

  • (Object)

    the current value of score



5
6
7
# File 'lib/embedding_util/result.rb', line 5

def score
  @score
end