rig/embeddings/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! This module provides functionality for working with embeddings.
//! Embeddings are numerical representations of documents or other objects, typically used in
//! natural language processing (NLP) tasks such as text classification, information retrieval,
//! and document similarity.

pub mod builder;
pub mod embed;
pub mod embedding;
pub mod tool;

pub mod distance;
pub use builder::EmbeddingsBuilder;
pub use embed::{to_texts, Embed, EmbedError, TextEmbedder};
pub use embedding::{Embedding, EmbeddingError, EmbeddingModel};
pub use tool::ToolSchema;