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

Build and commit notes with an embedding-truncation report. The report keeps logical per-note/model accounting even when identical content shares one provider result, and is returned only when the whole note set commits successfully.