RawDocument

org.llm4s.rag.loader.RawDocument
final case class RawDocument(ref: DocumentRef, content: Array[Byte])

Raw document content retrieved from a source.

Value parameters

content

Raw bytes of the document

ref

The document reference (identity and metadata)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def length: Int

Content length in bytes.

Content length in bytes.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product