EntityAssertion

constructor(name: String, labels: List<String> = emptyList(), description: String? = null, properties: Map<String, Any> = emptyMap(), id: String? = null)

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.