class VoyageAI::Client

Defined in:

voyage_ai.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(api_key : String = ENV["VOYAGE_AI_API_KEY"]) #

[View source]

Instance Method Detail

def embed(input : Array(String), model : String, input_type : InputType | Nil = nil, truncation : Bool | Nil = nil) #

[View source]