fetchium-core 1.0.0

Fetchium core library — search, extract, rank, validate, cache
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! QADD — Query-Aware DOM Distillation (PRD §8.10).
//!
//! 5-step pipeline: structural pruning → BM25 scoring → semantic check →
//! heading context preservation → greedy token-budget packing.
//!
//! Target: 50K token HTML → ~2.5K tokens (10-20x reduction).

pub mod pipeline;
pub mod pruning;

pub use pipeline::{QaddConfig, QaddPipeline, QaddResult};
pub use pruning::TextNode;