SourceTrackedGraph

org.llm4s.knowledgegraph.extraction.SourceTrackedGraph
See theSourceTrackedGraph companion class

Attributes

Companion
class
Source
DocumentSource.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

Creates an empty source-tracked graph.

Creates an empty source-tracked graph.

Attributes

Source
DocumentSource.scala

Wraps an existing graph with provenance from a single document source.

Wraps an existing graph with provenance from a single document source.

Value parameters

graph

The graph to wrap

source

The document source that produced the graph

Attributes

Returns

A SourceTrackedGraph with all nodes/edges attributed to the given source

Source
DocumentSource.scala