Crate gem_rs

Source
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 definitions
  • client: Provides the main client interface for interacting with the Gemini API
  • errors: Defines custom error types for the library
  • types: Contains various type definitions used throughout the library
  • utils: 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.