genai 0.5.3

Multi-AI Providers Library for Rust. (OpenAI, Gemini, Anthropic, xAI, Ollama, Groq, DeepSeek, Grok)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::ModelIden;
use crate::resolver::{AuthData, Endpoint};

/// Service call target.
///
/// Fields:
/// - `endpoint`: Resolved service endpoint.
///
/// - `auth`: Authentication data for the request.
///
/// - `model`: Target model identifier.
pub struct ServiceTarget {
	pub endpoint: Endpoint,
	pub auth: AuthData,
	pub model: ModelIden,
}