| Crates.io | veritas-nexus |
| lib.rs | veritas-nexus |
| version | 0.1.0 |
| created_at | 2025-06-28 22:15:16.720198+00 |
| updated_at | 2025-06-28 22:15:16.720198+00 |
| description | Advanced multi-modal lie detection system with explainable AI, featuring text, vision, audio, and physiological analysis with ReAct reasoning |
| homepage | https://github.com/ruv-FANN/veritas-nexus |
| repository | https://github.com/ruv-FANN/veritas-nexus |
| max_upload_size | |
| id | 1730164 |
| size | 2,547,207 |
A cutting-edge Rust implementation of a multi-modal lie detection system that combines state-of-the-art neural processing with explainable AI techniques.
The API documentation has been comprehensively enhanced with:
ModalityAnalyzer, DeceptionScore, FusionStrategy with detailed examplesModalityType, Feature, ExplanationTrace[dependencies]
veritas-nexus = { version = "0.1", features = ["gpu", "parallel"] }
default: Enables parallel for basic multi-threadingparallel: Parallel processing using rayon and crossbeamgpu: GPU acceleration with CUDA/OpenCL supportbenchmarking: Comprehensive performance testing suitemcp: Model Context Protocol server integrationuse veritas_nexus::prelude::*;
#[tokio::main]
async fn main() -> Result<()> {
// Initialize the detection system
let detector = LieDetector::builder()
.with_text_analysis(TextConfig::default())
.with_vision_analysis(VisionConfig::default())
.build()?;
// Analyze a text statement
let input = AnalysisInput::text("I was definitely at home all evening.");
let result = detector.analyze(input).await?;
match result.decision {
Decision::Truthful => println!("Statement appears truthful"),
Decision::Deceptive => println!("Statement appears deceptive"),
Decision::Uncertain => println!("Insufficient evidence"),
}
Ok(())
}
Core API Types - Comprehensive documentation with examples
ModalityAnalyzer trait with detailed usage patternsDeceptionScore trait with interpretation guidelinesFusionStrategy trait with implementation examplesModalityType enum with multi-modal fusion examplesModality Analyzers - Complete module-level documentation
Feature Documentation - All optional features documented
default, parallel)gpu, benchmarking)mcp)testing, profiling)Troubleshooting & Performance - Comprehensive guides
To build the complete documentation locally:
# Build documentation for core modules
cargo doc --no-deps --open
# Build with all features enabled
cargo doc --no-deps --all-features --open
# Build documentation including private items
cargo doc --no-deps --document-private-items --open
The documentation includes extensive examples for:
Veritas Nexus is designed with ethical AI principles:
This project is dual-licensed under either:
at your option.
We welcome contributions! Please see our contributing guidelines for details on:
Note: This is a research project for lie detection technology. Please use responsibly and in accordance with applicable laws and ethical guidelines.