Skip to main content

Crate elizaos_plugin_google_genai

Crate elizaos_plugin_google_genai 

Source
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§

client
config
error
models
types

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.