Expand description
§FACT - Fast Augmented Context Tools
A high-performance context processing engine for Rust.
§Features
- High Performance: Optimized data structures and algorithms
- Intelligent Caching: Multi-tier caching with LRU eviction
- Cognitive Templates: Pre-built templates for common patterns
- Async Support: Full async/await support with Tokio
- Cross-Platform: Works on Linux, macOS, and Windows
§Example
use fact::{FactEngine, Template};
// Create a new FACT engine
let mut engine = FactEngine::new();
// Process with a template
let result = engine.process(
"analysis-basic",
serde_json::json!({
"data": [1, 2, 3, 4, 5],
"operation": "sum"
})
).await?;
println!("Result: {}", result);Re-exports§
pub use cache::Cache;pub use cache::CacheStats;pub use engine::FactEngine;pub use engine::ProcessingOptions;pub use processor::QueryProcessor;pub use templates::Template;pub use templates::TemplateRegistry;
Modules§
- cache
- High-performance caching implementation for FACT
- engine
- Core processing engine for FACT
- processor
- Query processing implementation
- templates
- Cognitive template system for FACT
Structs§
- Fact
- Main entry point for FACT functionality
- Fact
Config - Configuration for FACT
- Metrics
- Performance metrics
Enums§
- Fact
Error - Errors that can occur in FACT operations
Type Aliases§
- Result
- Result type for FACT operations