seedframe_voyageai

Crates.ioseedframe_voyageai
lib.rsseedframe_voyageai
version0.1.1
created_at2025-04-22 12:09:30.046647+00
updated_at2025-04-30 11:03:24.700274+00
descriptionVoyage AI integration crate for SeedFrame
homepage
repositoryhttps://github.com/Shifta-Robel/SeedFrame/tree/main/integrations/embedding_providers/seedframe_voyageai
max_upload_size
id1643941
size7,445
Robel B. Tamirat (Shifta-Robel)

documentation

README

Seedframe VoyageAI

Voyage AI integration crate for Seedframe, provides struct VoyageAIEmbedding which implements the trait Seedframe::embeddings::EmbeddingModel

Intended for use with the #[embedder] macro

Accepts the following configuration parameters, passed as json to the config attribute in the embedder proc-macro - model: optional String - identifier for the model to use - api_key_var: optional String - Environment variable name containing the API key - api_url: String - Custom API endpoint URL

Usage with the embedder macro:

use seedframe_voyageai::VoyageAIEmbedding;

#[embedder(
    provider = "VoyageAIEmbedding",
    config = r#"{
      "model": "voyage-3-lite",
      "api_key_var": "ENV_VAR",
      "api_url": "https://api.voyageai.com/v1/embeddings"
    }"#
)]
struct VoyageEmbedder;
Commit count: 134

cargo fmt