Skip to content

Releases: gbaptista/gemini-ai

Ruby Gemini AI 4.2.0

21 Jul 10:48
Compare
Choose a tag to compare

New version available on RubyGems:

gem 'gemini-ai', '~> 4.2'

New in this version:

Ruby Gemini AI 4.1.0

23 Jun 12:28
Compare
Choose a tag to compare

New version available on RubyGems:

gem 'gemini-ai', '~> 4.1'

New in this version:

  • Add support for storing Google Cloud key as ENV var directly #19 (thanks @weilandia!)
  • Refactoring Credentials #20

Ruby Gemini AI 4.0.0

19 May 17:01
Compare
Choose a tag to compare

New version available on RubyGems:

gem 'gemini-ai', '~> 4.0'

New in this version:

  • Adding new methods and models support #17
  • Detaching model from base URL;
  • Adding the new predict and embed_content methods;
  • Validating support for Gemini 1.5 Pro and Gemini 1.5 Flash;
  • Adding documentation for Embeddings generation;

Breaking Change: client.request now requires a longer portion of the path:

Before:

client.request(
  'streamGenerateContent',
  # ...
)

After:

client.request(
  'publishers/google/models/gemini-pro:streamGenerateContent',
  # ...
)

This breaking change should not be impactful (we infer that most users don't use client.request directly) and will enable the Gem to evolve in the future to support more methods and requests that are not necessarily attached to a specific model.

Ruby Gemini AI 3.2.0

24 Jan 01:15
Compare
Choose a tag to compare

New version available on RubyGems:

gem 'gemini-ai', '~> 3.2'

New in this version:

Thanks @alchaplinsky!

Ruby Gemini AI 3.1.3

13 Jan 12:36
Compare
Choose a tag to compare

New version available on RubyGems:

gem 'gemini-ai', '~> 3.1', '>= 3.1.3'

New in this version:

  • Fixing error mixin issues.
  • Upgrading Faraday.

Ruby Gemini AI 3.1.2

06 Jan 14:29
Compare
Choose a tag to compare

New version available on RubyGems:

gem 'gemini-ai', '~> 3.1', '>= 3.1.2'

New in this version:

  • Preventing breaking changes in googleauth a472850

Ruby Gemini AI 3.1.1

06 Jan 14:20
Compare
Choose a tag to compare

New version available on RubyGems:

gem 'gemini-ai', '~> 3.1', '>= 3.1.1'

New in this version:

  • Fixing an issue that caused errors in streaming when Google returns blockReason SAFETY:
    • check candidates existance #9 (thanks @naoa).
  • Increasing compatibility with other gems:
  • making server_sent_events: optional e8ca529

Ruby Gemini AI 3.1.0

26 Dec 02:31
Compare
Choose a tag to compare

New version available on RubyGems:

gem 'gemini-ai', '~> 3.1'

New in this version:

  • Upgrading to Faraday 2.8.1
  • add timeout option #7 - thanks @naoa!
  • Adding support to configure timeout:
client = Gemini.new(
  credentials: { service: 'vertex-ai-api', region: 'us-east4' },
  options: {
    model: 'gemini-pro',
    connection: { request: { timeout: 5 } }
  }
)

Ruby Gemini AI 3.0.0

17 Dec 23:49
Compare
Choose a tag to compare

New version available on RubyGems:

gem 'gemini-ai', '~> 3.0'

New in this version:

  • Refactoring Streams and SSE #6
  • Issue #5
    • Breaking change: stream renamed to server_sent_events.
    • A new method, generate_content, has been added.

Ruby Gemini AI 2.2.0

16 Dec 23:38
Compare
Choose a tag to compare

New version available on RubyGems:

gem 'gemini-ai', '~> 2.2'

New in this version:

  • Improving Error Handling #4