struct
Memo::Config::EmbeddingService
- Memo::Config::EmbeddingService
- Struct
- Value
- Object
Overview
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.
Defined in:
memo/config.crConstructors
Instance Method Summary
- #batch_size : Int32
- #dimensions : Int32
- #max_tokens : Int32
- #model : String
- #provider : String
- #version : String | Nil
Constructor Detail
def self.new(provider : String, model : String, dimensions : Int32, max_tokens : Int32 = 8191, version : String | Nil = nil, batch_size : Int32 = 100)
#