Skip to main content

prepare_add_entity

Function prepare_add_entity 

Source
pub async fn prepare_add_entity(
    runtime: &KhiveRuntime,
    token: &NamespaceToken,
    args: &Value,
) -> RuntimeResult<AtomicOpPlan>
Expand description

Build the prepared plan for an AddEntity proposal change. The entity row and FTS document are committed together; vector indexing is deferred until after commit because embedding may suspend. kind must already be canonicalized by the caller because pack-aware resolution requires a VerbRegistry.