Module: Raix

Defined in:
lib/raix.rb,
lib/raix/rails/version.rb,
lib/raix/chat_completion.rb,
lib/raix/function_dispatch.rb,
lib/raix/prompt_declarations.rb

Overview

The Raix module provides configuration options for the Raix gem.

Defined Under Namespace

Modules: ChatCompletion, FunctionDispatch, PromptDeclarations, Rails Classes: Configuration

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the current configuration instance.



46
47
48
# File 'lib/raix.rb', line 46

def self.configuration
  @configuration ||= Configuration.new
end

Class Method Details

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

Configures the Raix gem using a block.

Yields:



51
52
53
# File 'lib/raix.rb', line 51

def self.configure
  yield(configuration)
end