ragdrift-core
Pure Rust core of ragdrift. Five-dimensional
drift detection for production RAG systems: data, embedding, response, confidence, query.
This crate is usable standalone from Rust. Python users want the
ragdrift wheel, which wraps this crate via PyO3.
Quick example
use Array2;
use EmbeddingDriftDetector;
let baseline = zeros;
let mut current = zeros;
current += 0.5;
let detector = new;
let score = detector.detect.unwrap;
assert!;
License: MIT OR Apache-2.0.