struct

Crig::Providers::Cohere::EmbeddingModel

Inherits Crig::Embeddings::EmbeddingModel < Struct < Value < Object

Constants

MAX_DOCUMENTS = 96

Constructors

make(client : Client, model : String, ndims : Int32 | Nil) : self
Source
new(client : Client, model : String, input_type : String, ndims : Int32)
Source
with_model(client : Client, model : String, input_type : String, ndims : Int32) : self
Source

Instance methods

client
Source
input_type
Source
max_documents
Source
model
Source
ndims
Source