Expand description
Google GenAI plugin for elizaOS.
This crate provides a client for interacting with Google’s Generative AI (Gemini) API, supporting text generation, embeddings, and image analysis capabilities.
Re-exports§
pub use client::GoogleGenAIClient;pub use config::GoogleGenAIConfig;pub use error::GoogleGenAIError;pub use error::Result;pub use models::Model;pub use models::ModelSize;pub use types::EmbeddingParams;pub use types::EmbeddingResponse;pub use types::ObjectGenerationParams;pub use types::TextGenerationParams;pub use types::TextGenerationResponse;
Modules§
Constants§
- PLUGIN_
DESCRIPTION - A human-readable description of this plugin’s functionality.
- PLUGIN_
NAME - The name identifier for this plugin.
- PLUGIN_
VERSION - The version of this plugin, derived from Cargo.toml.
Functions§
- create_
client_ from_ env - Creates a new Google GenAI client using configuration from environment variables.