DocumentSource

org.llm4s.knowledgegraph.extraction.DocumentSource
case class DocumentSource(id: String, title: String, metadata: Map[String, String])

Represents a source document from which knowledge graph entities were extracted.

Value parameters

id

Unique identifier for the document

metadata

Additional metadata about the document (e.g., author, date, URL)

title

Human-readable title or filename

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product