rig/embeddings/
mod.rs

1//! This module provides functionality for working with embeddings.
2//! Embeddings are numerical representations of documents or other objects, typically used in
3//! natural language processing (NLP) tasks such as text classification, information retrieval,
4//! and document similarity.
5
6pub mod builder;
7pub mod embed;
8pub mod embedding;
9pub mod tool;
10
11pub mod distance;
12pub use builder::EmbeddingsBuilder;
13pub use embed::{Embed, EmbedError, TextEmbedder, to_texts};
14pub use embedding::{Embedding, EmbeddingError, EmbeddingModel};
15pub use tool::ToolSchema;