struct

Memo::Config::EmbeddingService

Inherits Struct < Value < Object

AI embedding service configuration

Describes the provider/model used for embeddings. This gets stored in the services table to track which embeddings belong to which vector space.

Constructors

new(provider : String, model : String, dimensions : Int32, max_tokens : Int32 = 8191, version : String | Nil = nil, batch_size : Int32 = 100)
Source

Instance methods

batch_size
Source
dimensions
Source
max_tokens
Source
model
Source
provider
Source
version
Source