Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
interface EntityMergePolicy
Determine how to handle existing entities. The EntityResolver will have determined where we have an existing entity. The role of the EntityDeterminer is to decide how to handle merges.
Link copied to clipboard
data class ExistingRelationship(val suggested: SuggestedRelationship, val existing: RelationshipInstance) : SuggestedRelationshipResolution
Link copied to clipboard
interface KnowledgeGraphBuilder
Updates a knowledge graph from chunks of text
Link copied to clipboard
data class KnowledgeGraphDelta(val chunkIds: Set<String>, val entityMerges: Merges<SuggestedEntityResolution, <Error class: unknown class>>, val relationshipMerges: Merges<SuggestedRelationshipResolution, RelationshipInstance>)
Update we'll apply to a knowledge graph in a persistent store. Identifies the chunks that it is based on.
Link copied to clipboard
Link copied to clipboard
interface RelationshipInstance
Relationship between a source and target entity, identified by ID
Link copied to clipboard
interface RelationshipMergePolicy
Link copied to clipboard
interface RelationshipResolver
Link copied to clipboard
interface SourceAnalyzer
Analyze text Process each chunk in turn. Not responsible for disambiguation or merging, which is handled by a later pipeline stage.
Link copied to clipboard
Adapter that wraps a SourceAnalyzer as an EntityExtractor.
Link copied to clipboard
data class SuggestedRelationship(val sourceId: String, val targetId: String, val type: String, val description: String? = null) : RelationshipInstance
Link copied to clipboard
sealed interface SuggestedRelationshipResolution : Resolution<SuggestedRelationship, RelationshipInstance>
Link copied to clipboard
data class SuggestedRelationships(val entitiesResolution: Resolutions<SuggestedEntityResolution>, val suggestedRelationships: List<SuggestedRelationship>)