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/stream.rb,
lib/omniai/anthropic/chat/text_serializer.rb,
lib/omniai/anthropic/chat/tool_serializer.rb,
lib/omniai/anthropic/chat/media_serializer.rb,
lib/omniai/anthropic/chat/choice_serializer.rb,
lib/omniai/anthropic/chat/content_serializer.rb,
lib/omniai/anthropic/chat/message_serializer.rb,
lib/omniai/anthropic/chat/payload_serializer.rb,
lib/omniai/anthropic/chat/function_serializer.rb,
lib/omniai/anthropic/chat/tool_call_serializer.rb,
lib/omniai/anthropic/chat/tool_call_result_serializer.rb
Overview
A namespace for everything Anthropic.
Defined Under Namespace
Classes: Chat, Client, Config
Constant Summary
collapse
- VERSION =
'1.9.1'
Class Method Summary
collapse
Class Method Details
15
16
17
|
# File 'lib/omniai/anthropic.rb', line 15
def self.config
@config ||= Config.new
end
|
20
21
22
|
# File 'lib/omniai/anthropic.rb', line 20
def self.configure
yield config
end
|