Entity Assertion
data class EntityAssertion constructor(val name: String, val labels: List<String> = emptyList(), val description: String? = null, val properties: Map<String, Any> = emptyMap(), val id: String? = null)
A single entity to assert into the knowledge graph.
Parameters
name
The entity name, used for resolution matching
labels
Type labels for the entity, e.g. "Person", "Engineer"
description
Optional description/summary of the entity
properties
Additional properties to store on the entity node
id
Optional caller-supplied stable id. When the resolver determines this assertion is a new entity (no existing match), the created row will use this id verbatim instead of a freshly-minted UUID. Lets callers anchor entities to a deterministic id scheme (e.g. email:<threadId>, dom:<domain>) so downstream references (proposition grounding, external links) hit the same row. Has no effect when the assertion resolves to an existing entity — the existing id wins. Null = resolver generates a UUID.