1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
// Copyright (c) 2026 vectorless developers
// SPDX-License-Identifier: Apache-2.0
//! # Vectorless
// Clippy: allow some pedantic lints that are too noisy for early-stage project
//! # Vectorless
//!
//! An ultra-performant reasoning-native document intelligence engine for AI.
//!
//! It transforms documents into rich semantic trees and uses LLMs to
//! intelligently traverse the hierarchy — retrieving the most relevant content
//! through structural reasoning and deep contextual understanding.
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use vectorless::{EngineBuilder, IndexContext, QueryContext};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! let client = EngineBuilder::new()
//! .with_workspace("./workspace")
//! .build()
//! .await?;
//!
//! let result = client.index(IndexContext::from_path("./document.md")).await?;
//! let doc_id = result.doc_id().unwrap();
//!
//! let result = client.query(
//! QueryContext::new("What is this about?").with_doc_id(doc_id)
//! ).await?;
//! println!("{}", result.content);
//!
//! Ok(())
//! }
//! ```
//!
//! ## Modules
//!
//! | Module | Description |
//! |--------|-------------|
//! | [`client`] | High-level API (`Engine`, `EngineBuilder`, `IndexContext`, `QueryContext`) |
//! | [`document`] | Core domain types (`DocumentTree`, `TreeNode`, `NodeId`) |
//! | [`error`] | Error types |
// Client API
pub use ;
// Error types
pub use ;
// Document types
pub use ;