Module: OmniAI::OpenAI
- Defined in:
- lib/omniai/openai.rb,
lib/omniai/openai/chat.rb,
lib/omniai/openai/file.rb,
lib/omniai/openai/tool.rb,
lib/omniai/openai/embed.rb,
lib/omniai/openai/files.rb,
lib/omniai/openai/speak.rb,
lib/omniai/openai/client.rb,
lib/omniai/openai/config.rb,
lib/omniai/openai/thread.rb,
lib/omniai/openai/threads.rb,
lib/omniai/openai/version.rb,
lib/omniai/openai/assistant.rb,
lib/omniai/openai/assistants.rb,
lib/omniai/openai/thread/run.rb,
lib/omniai/openai/transcribe.rb,
lib/omniai/openai/thread/runs.rb,
lib/omniai/openai/thread/text.rb,
lib/omniai/openai/thread/content.rb,
lib/omniai/openai/thread/message.rb,
lib/omniai/openai/thread/messages.rb,
lib/omniai/openai/thread/annotation.rb,
lib/omniai/openai/thread/attachment.rb
Overview
A namespace for everything OpenAI.
Defined Under Namespace
Modules: Tool Classes: Assistant, Assistants, Chat, Client, Config, Embed, File, Files, Speak, Thread, Threads, Transcribe
Constant Summary collapse
- VERSION =
'1.9.1'
Class Method Summary collapse
Class Method Details
.config ⇒ OmniAI::OpenAI::Config
16 17 18 |
# File 'lib/omniai/openai.rb', line 16 def self.config @config ||= Config.new end |
.configure {|OmniAI::OpenAI::Config| ... } ⇒ Object
21 22 23 |
# File 'lib/omniai/openai.rb', line 21 def self.configure yield config end |