load_from_settings (documents/mod.rs)

codanna · src/documents/mod.rs · rust · Apache-2.0
ai

! Document chunking and embedding for RAG use cases. ! ! This module provides: ! - Document chunking with configurable strategies ! - Vector embeddings for document chunks ! - Collection-based organization and filtering ! - Semantic search within document collections

// Source: https://github.com/bartolli/codanna | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
//! Document chunking and embedding for RAG use cases.
//!
//! This module provides:
//! - Document chunking with configurable strategies
//! - Vector embeddings for document chunks
//! - Collection-based organization and filtering
//! - Semantic search within document collections

pub mod chunker;
pub mod config;
pub mod schema;
pub mod store;
pub mod types;

pub use chunker::{Chunker, HybridChunker, RawChunk};
pub use config::{
    ChunkingConfig, ChunkingStrategy, CollectionConfig, DocumentsConfig, PreviewMode, SearchConfig,
};
pub use schema::DocumentSchema;
pub use store::{Collectio

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key