ExtractionConfig

org.llm4s.knowledgegraph.extraction.ExtractionConfig
case class ExtractionConfig(schema: Option[ExtractionSchema], enableCoreference: Boolean, enableEntityLinking: Boolean, llmDisambiguation: Boolean)

Configuration for multi-document graph extraction.

Value parameters

enableCoreference

Whether to run coreference resolution on each document before extraction

enableEntityLinking

Whether to run entity linking (deduplication) after merging documents

llmDisambiguation

Whether to use LLM-assisted disambiguation during entity linking

schema

Optional schema to constrain extraction. When absent, free-form extraction is used.

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