Expand description
Core client crate for the Rust Gemini SDK.
Re-exports§
pub use client::Backend;pub use client::Client;pub use client::ClientBuilder;pub use client::Credentials;pub use client::HttpOptions;pub use client::VertexConfig;pub use error::Error;pub use error::Result;pub use rust_genai_types as types;
Modules§
- afc
- Automatic Function Calling (AFC) helpers.
- batches
- Batches API surface.
- caches
- Caches API surface.
- chats
- Chats API surface.
- client
- Client configuration and transport layer.
- computer_
use - Computer Use helpers.
- deep_
research - Deep Research convenience wrapper (Preview).
- documents
- Documents API surface.
- error
- Error definitions for the SDK.
- file_
search_ stores - FileSearchStores API surface.
- files
- Files API surface.
- interactions
- Interactions API surface.
- live
- Live API (WebSocket) support.
- live_
music - Live Music API surface.
- model_
capabilities - Model capability checks and feature gating.
- models
- Models API surface.
- operations
- Operations API surface.
- sse
- SSE (Server-Sent Events) stream decoding utilities.
- thinking
- Thinking support and thought signature validation.
- tokenizer
- Local token estimation utilities (optional).
- tokens
- Ephemeral auth tokens API.
- tunings
- Tunings API surface.