Expand description
Gem-rs: A Rust library for interacting with the Gemini API
This library serves as a wrapper around the Gemini API, providing support for streaming, file uploads, and various other functionalities. It is designed to facilitate easy integration of Gemini API capabilities into Rust projects.
§Features
- Streaming support for real-time interactions
- File and image upload capabilities
- Caching mechanism for efficient file handling
- Comprehensive error handling and logging
- Support for multiple Gemini API models
§Modules
api
: Contains API-related constants and model definitionsclient
: Provides the main client interface for interacting with the Gemini APIerrors
: Defines custom error types for the librarytypes
: Contains various type definitions used throughout the libraryutils
: Utility functions for internal use
Modules§
- api
- client
- Client module for interacting with the Gemini API.
- errors
- Error types for the Gem-rs library.
- types
- utils
- Utility functions for the Gem-rs library.
Functions§
- init_
log - Initializes the logger for the Gem-rs library.