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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article