Module: Raix

Defined in:
lib/raix.rb,
lib/raix/version.rb,
lib/raix/predicate.rb,
lib/raix/chat_completion.rb,
lib/raix/response_format.rb,
lib/raix/function_dispatch.rb,
lib/raix/prompt_declarations.rb,
lib/raix/message_adapters/base.rb

Overview

The Raix module provides configuration options for the Raix gem.

Defined Under Namespace

Modules: ChatCompletion, FunctionDispatch, MessageAdapters, Predicate, PromptDeclarations Classes: Configuration, ResponseFormat

Constant Summary collapse

VERSION =
"0.4.5"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the current configuration instance.



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

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

Class Method Details

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

Configures the Raix gem using a block.

Yields:



57
58
59
# File 'lib/raix.rb', line 57

def self.configure
  yield(configuration)
end