Module together

Module together 

Source
Expand description

Together AI API client and Rig integration

§Example

use rig::providers::together_ai;

let client = together_ai::Client::new("YOUR_API_KEY");

let together_embedding_model = client.embedding_model(together_ai::EMBEDDING_V1);

Re-exports§

pub use client::Client;
pub use completion::*;
pub use embedding::*;

Modules§

client
completion
Together AI Completion Integration From Together AI Reference
embedding
Together AI Embeddings Integration From Together AI Reference
streaming