Module: OmniAI::Google

Defined in:
lib/omniai/google.rb,
lib/omniai/google/chat.rb,
lib/omniai/google/embed.rb,
lib/omniai/google/client.rb,
lib/omniai/google/config.rb,
lib/omniai/google/upload.rb,
lib/omniai/google/version.rb,
lib/omniai/google/upload/file.rb,
lib/omniai/google/chat/text_serializer.rb,
lib/omniai/google/chat/tool_serializer.rb,
lib/omniai/google/chat/media_serializer.rb,
lib/omniai/google/chat/usage_serializer.rb,
lib/omniai/google/chat/choice_serializer.rb,
lib/omniai/google/chat/content_serializer.rb,
lib/omniai/google/chat/message_serializer.rb,
lib/omniai/google/chat/payload_serializer.rb,
lib/omniai/google/chat/function_serializer.rb,
lib/omniai/google/chat/tool_call_serializer.rb,
lib/omniai/google/chat/tool_call_result_serializer.rb

Overview

A namespace for everything Google.

Defined Under Namespace

Classes: Chat, Client, Config, Embed, Upload

Constant Summary collapse

VERSION =
'1.9.3'

Class Method Summary collapse

Class Method Details

.configOmniAI::Google::Config



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

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

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



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

def self.configure
  yield config
end