ValidationResult

org.llm4s.knowledgegraph.extraction.ValidationResult
case class ValidationResult(validGraph: Graph, outOfSchemaNodes: List[Node], outOfSchemaEdges: List[Edge], violations: List[SchemaViolation])

Result of validating an extracted graph against an ExtractionSchema.

Value parameters

outOfSchemaEdges

Edges whose relationship does not match any schema relationship type

outOfSchemaNodes

Nodes whose label does not match any schema entity type

validGraph

Graph containing only nodes/edges that conform to the schema

violations

Specific constraint violations found during validation

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

True if the graph fully conforms to the schema with no violations.

True if the graph fully conforms to the schema with no violations.

Attributes

Source
DocumentSource.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product