Module: VoyageAI

Defined in:
lib/voyageai.rb,
lib/voyageai/embed.rb,
lib/voyageai/model.rb,
lib/voyageai/usage.rb,
lib/voyageai/client.rb,
lib/voyageai/config.rb,
lib/voyageai/rerank.rb,
lib/voyageai/version.rb,
lib/voyageai/reranking.rb,
lib/voyageai/instrumentation.rb

Overview

The main entrypoint for VoyageAI.

Defined Under Namespace

Modules: Model Classes: Client, Config, Embed, Instrumentation, Rerank, Reranking, Usage

Constant Summary collapse

VERSION =
"1.4.0"

Class Method Summary collapse

Class Method Details

.configVoyageAI::Config

Returns:



13
14
15
# File 'lib/voyageai.rb', line 13

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

.configure {|VoyageAI::Config| ... } ⇒ Object

Yields:



18
19
20
# File 'lib/voyageai.rb', line 18

def self.configure
  yield config
end