Skip to main content

amem_graph_get_confidence

Function amem_graph_get_confidence 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn amem_graph_get_confidence( graph: *mut c_void, node_id: u64, ) -> f32
Expand description

Get a node’s confidence. Returns -1.0 if not found.

§Safety

The caller must ensure that all pointer arguments are valid and non-null (unless the function explicitly handles null pointers), and that any pointed-to data is valid for the expected type and lifetime.