PropertyConflict

org.llm4s.knowledgegraph.extraction.PropertyConflict
final case class PropertyConflict(canonicalId: String, key: String, keptValue: Value, droppedValues: Map[String, Value])

A property that merged nodes disagreed on: EntityLinker kept one value and dropped the others (#3335).

The canonical node's value wins; a property it lacks is taken from the merged nodes in id order, and a later merged node's different value is then dropped. Ids are those of the merge that dropped the values: a canonical node merged again later (by the model-driven pass, or a later link) appears under its own id here.

Value parameters

canonicalId

The id of the node the others merged into

droppedValues

Each merged node's dropped value, by that node's id

keptValue

The value the merged node kept

key

The property key

Attributes

Source
DocumentSource.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

The ids of the merged nodes whose value was dropped.

The ids of the merged nodes whose value was dropped.

Attributes

Source
DocumentSource.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product