MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / vector_insert

Method vector_insert

nodedb-client/src/remote/client/dispatch.rs:64–73  ·  view source on GitHub ↗
(
        &self,
        collection: &str,
        id: &str,
        embedding: &[f32],
        metadata: Option<Document>,
    )

Source from the content-addressed store, hash-verified

62 }
63
64 async fn vector_insert(
65 &self,
66 collection: &str,
67 id: &str,
68 embedding: &[f32],
69 metadata: Option<Document>,
70 ) -> NodeDbResult<()> {
71 self.vector_insert_impl(collection, id, embedding, metadata)
72 .await
73 }
74
75 async fn vector_delete(&self, collection: &str, id: &str) -> NodeDbResult<()> {
76 self.vector_delete_impl(collection, id).await

Callers

nothing calls this directly

Calls 1

vector_insert_implMethod · 0.45

Tested by

no test coverage detected