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
// ONNX Runtime-based neural embeddings
//
// This module provides the main-daemon side of the ONNX embedding architecture.
// Actual ONNX inference is delegated to the leindex-embed worker process.
// VAL-CPHASE-002: The main crate no longer owns ONNX runtime deps directly.
/// Cross-language semantic chunking for code
///
/// Provides intelligent code chunking that handles language markers,
/// cross-language references, and semantic boundaries for better
/// neural embedding generation.
///
/// This module does not depend on ONNX Runtime directly — it prepares
/// text for embedding but does not run inference.
/// Worker client for delegating ONNX inference to the leindex-embed process.
///
/// The client manages the worker lifecycle (spawn, reuse, idle teardown)
/// and communicates using the protocol types from the leindex-embed crate.
/// Remote embedding providers (OpenAI, Cohere, etc.)
///
/// Provides integration with cloud-based embedding services as an
/// alternative to local ONNX models.
pub use ;
pub use ;
pub use ;