Skip to main content

create_keyed_memory_with_report

Function create_keyed_memory_with_report 

Source
pub async fn create_keyed_memory_with_report(
    runtime: &KhiveRuntime,
    token: &NamespaceToken,
    spec: KeyedMemorySpec<'_>,
) -> RuntimeResult<(Note, Option<Uuid>, bool, EmbeddingTruncationReport)>
Expand description

Same as create_keyed_memory, also returning the embedding-input truncation report computed for this call. A replay stores nothing new but retains the report from preparing this call’s identical content.