Class: Rogalik::Document

Inherits:
Struct
  • Object
show all
Defined in:
lib/rogalik.rb

Overview

Represents a single loaded document with its content and provenance.

Instance Attribute Summary collapse

Instance Attribute Details

#embeddingsObject

Returns the value of attribute embeddings

Returns:

  • (Object)

    the current value of embeddings



11
12
13
# File 'lib/rogalik.rb', line 11

def embeddings
  @embeddings
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



11
12
13
# File 'lib/rogalik.rb', line 11

def id
  @id
end

#metadataObject

Returns the value of attribute metadata

Returns:

  • (Object)

    the current value of metadata



11
12
13
# File 'lib/rogalik.rb', line 11

def 
  @metadata
end

#page_contentObject

Returns the value of attribute page_content

Returns:

  • (Object)

    the current value of page_content



11
12
13
# File 'lib/rogalik.rb', line 11

def page_content
  @page_content
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



11
12
13
# File 'lib/rogalik.rb', line 11

def source
  @source
end