Memo::Providers::Arcana
Inherits Memo::Providers::Base < Reference < Object
Arcana embedding provider
Wraps Arcana::Embed::Provider to implement the Memo provider interface. Supports any provider Arcana supports (OpenAI, Voyage AI, etc.) with built-in batching and retry.
Constructors
Instance methods
batch_size
Sourcedimensions
SourceEmbed a single text
Returns tuple of (embedding vector, token count) input_type: "query" or "document" (used by Voyage AI for optimized embeddings)
Embed multiple texts in a batch
Returns EmbedResult with embeddings and token counts input_type: "query" or "document" (used by Voyage AI for optimized embeddings)
max_retries
Sourcemodel
Sourceprovider
Source