Module: OmniAI::Anthropic

Defined in:
lib/omniai/anthropic.rb,
lib/omniai/anthropic/chat.rb,
lib/omniai/anthropic/client.rb,
lib/omniai/anthropic/config.rb,
lib/omniai/anthropic/version.rb,
lib/omniai/anthropic/chat/response/stream.rb,
lib/omniai/anthropic/chat/response/completion.rb

Overview

A namespace for everything Anthropic.

Defined Under Namespace

Classes: Chat, Client, Config

Constant Summary collapse

VERSION =
'1.6.3'

Class Method Summary collapse

Class Method Details

.configOmniAI::Anthropic::Config



15
16
17
# File 'lib/omniai/anthropic.rb', line 15

def self.config
  @config ||= Config.new
end

.configure {|OmniAI::Anthropic::Config| ... } ⇒ Object



20
21
22
# File 'lib/omniai/anthropic.rb', line 20

def self.configure
  yield config
end