Class: EmbeddingUtil::RankedDocument
- Inherits:
-
Data
- Object
- Data
- EmbeddingUtil::RankedDocument
- Defined in:
- lib/embedding_util/result.rb
Instance Attribute Summary collapse
-
#document ⇒ Object
readonly
Returns the value of attribute document.
-
#index ⇒ Object
readonly
Returns the value of attribute index.
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
-
#score ⇒ Object
readonly
Returns the value of attribute score.
Instance Attribute Details
#document ⇒ Object (readonly)
Returns the value of attribute document
5 6 7 |
# File 'lib/embedding_util/result.rb', line 5 def document @document end |
#index ⇒ Object (readonly)
Returns the value of attribute index
5 6 7 |
# File 'lib/embedding_util/result.rb', line 5 def index @index end |
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata
5 6 7 |
# File 'lib/embedding_util/result.rb', line 5 def @metadata end |
#score ⇒ Object (readonly)
Returns the value of attribute score
5 6 7 |
# File 'lib/embedding_util/result.rb', line 5 def score @score end |