struct

Crig::Providers::Gemini::EmbeddingModel

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

Constants

MAX_DOCUMENTS = 1024

Constructors

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

Class methods

model_default_ndims(model : String) : Int32 | Nil
Source

Instance methods

client
Source
max_documents
Source
model
Source
ndims
Source