Module: I18nAi

Defined in:
lib/i18n_ai.rb,
lib/i18n_ai/railtie.rb,
lib/i18n_ai/version.rb,
lib/i18n_ai/configuration.rb,
lib/i18n_ai/clients/base_client.rb,
lib/i18n_ai/clients/open_ai_client.rb,
lib/i18n_ai/clients/anthropic_client.rb

Overview

The I18nAi module provides functionality for integrating AI-based translation services

Defined Under Namespace

Modules: Clients Classes: Configuration, Error, Railtie

Constant Summary collapse

VERSION =
"0.1.4"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



14
15
16
# File 'lib/i18n_ai.rb', line 14

def configuration
  @configuration ||= Configuration.new
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



18
19
20
# File 'lib/i18n_ai.rb', line 18

def configure
  yield(configuration)
end