lm-studio-api-extended 0.1.3

Unofficial Rust client for LM Studio with text embedding support.
Documentation
// This module re-exports key embedding components for convenient access throughout the crate.
// It provides the main API types and structures for working with embeddings.

// Embedding logic and API client
pub mod embedding;        pub use embedding::{ Embedder, EmbeddingResult };

// Embedding model definition, including supported and custom models
pub mod embed_model;      pub use embed_model::EmbeddingModel;

// Embedding request structure, used to send data to the embedding API
pub mod embed_request;    pub use embed_request::EmbeddingRequest;

// Input struct for embedding, representing a single message or text to embed
pub mod input;            pub use input::EmbeddingInput;

// Embedding response structure, representing the result returned by the embedding API
pub mod embed_response;   pub use embed_response::EmbeddingResponse;

pub mod embed_data;       pub use embed_data::EmbeddingData;

pub mod embed_usage;      pub use embed_usage::EmbeddingUsage;