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

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

Members list

Value members

Concrete methods

def isFullyValid: Boolean

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

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product