Skip to main content

create_notes_atomic_with_report

Function create_notes_atomic_with_report 

Source
pub async fn create_notes_atomic_with_report(
    runtime: &KhiveRuntime,
    specs: Vec<AtomicNoteSpec<'_>>,
) -> RuntimeResult<(Vec<Note>, EmbeddingTruncationReport)>
Expand description

The truncation-reporting form of create_notes_atomic. The report covers every note/model embedding actually produced before the atomic commit and is returned only when the whole note set commits successfully.