Class: Rogalik::Document
- Inherits:
-
Struct
- Object
- Struct
- Rogalik::Document
- Defined in:
- lib/rogalik.rb
Overview
Represents a single loaded document with its content and provenance.
Instance Attribute Summary collapse
-
#embeddings ⇒ Object
Returns the value of attribute embeddings.
-
#id ⇒ Object
Returns the value of attribute id.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#page_content ⇒ Object
Returns the value of attribute page_content.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Attribute Details
#embeddings ⇒ Object
Returns the value of attribute embeddings
11 12 13 |
# File 'lib/rogalik.rb', line 11 def @embeddings end |
#id ⇒ Object
Returns the value of attribute id
11 12 13 |
# File 'lib/rogalik.rb', line 11 def id @id end |
#metadata ⇒ Object
Returns the value of attribute metadata
11 12 13 |
# File 'lib/rogalik.rb', line 11 def @metadata end |
#page_content ⇒ Object
Returns the value of attribute page_content
11 12 13 |
# File 'lib/rogalik.rb', line 11 def page_content @page_content end |
#source ⇒ Object
Returns the value of attribute source
11 12 13 |
# File 'lib/rogalik.rb', line 11 def source @source end |